Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,5 +17,5 @@ def respond(message, history):
|
|
| 17 |
token = message.choices[0].delta.content
|
| 18 |
response += token
|
| 19 |
yield response
|
| 20 |
-
chatbot = gr.ChatInterface(respond, type
|
| 21 |
chatbot.launch()
|
|
|
|
| 17 |
token = message.choices[0].delta.content
|
| 18 |
response += token
|
| 19 |
yield response
|
| 20 |
+
chatbot = gr.ChatInterface(respond, type="messages")
|
| 21 |
chatbot.launch()
|