Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,5 +43,5 @@ def build_prompt(message,history):
|
|
| 43 |
return invoke_openai(prompt)
|
| 44 |
|
| 45 |
|
| 46 |
-
iface = gr.ChatInterface(build_prompt, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="
|
| 47 |
iface.launch(share=True)
|
|
|
|
| 43 |
return invoke_openai(prompt)
|
| 44 |
|
| 45 |
|
| 46 |
+
iface = gr.ChatInterface(build_prompt, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="Basic chat on NLP Data", example = ["Which training method should I use for sentence transformers when I only have pairs of related sentences?"] theme="soft", cache_examples=False, retry_btn=None, undo_btn="Delete Previous", clear_btn="Clear",)
|
| 47 |
iface.launch(share=True)
|