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