Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,6 @@ def responding(message, history):
|
|
| 14 |
|
| 15 |
return responses['choices'][0]['message']['content'].strip()
|
| 16 |
|
| 17 |
-
|
| 18 |
-
chatbot = gr.ChatInterface(
|
| 19 |
chatbot.launch()
|
|
|
|
| 14 |
|
| 15 |
return responses['choices'][0]['message']['content'].strip()
|
| 16 |
|
| 17 |
+
|
| 18 |
+
chatbot = gr.ChatInterface(respond, type="messages", title="My chat bot") #conversation history and user input(chatbot UI)
|
| 19 |
chatbot.launch()
|