Spaces:
Sleeping
Sleeping
rename to respond
Browse files
app.py
CHANGED
|
@@ -19,5 +19,5 @@ def respond(message, history):
|
|
| 19 |
|
| 20 |
return response["choices"][0]["message"]["content"].strip()
|
| 21 |
|
| 22 |
-
chatbot = gr.ChatInterface(
|
| 23 |
chatbot.launch()
|
|
|
|
| 19 |
|
| 20 |
return response["choices"][0]["message"]["content"].strip()
|
| 21 |
|
| 22 |
+
chatbot = gr.ChatInterface(respond, type="messages")
|
| 23 |
chatbot.launch()
|