Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def respond(message, history):
|
|
| 22 |
):
|
| 23 |
token = messages.choices[0].delta.content
|
| 24 |
response += token
|
| 25 |
-
yield response
|
| 26 |
|
| 27 |
chatbot = gr.ChatInterface(respond, type = "messages", title = "SadhanaGPT for KWK", theme = gr.themes.Glass(), examples = ["How's the weather today?", "Who won the match?", "Is the sky green?"])
|
| 28 |
|
|
|
|
| 22 |
):
|
| 23 |
token = messages.choices[0].delta.content
|
| 24 |
response += token
|
| 25 |
+
yield response
|
| 26 |
|
| 27 |
chatbot = gr.ChatInterface(respond, type = "messages", title = "SadhanaGPT for KWK", theme = gr.themes.Glass(), examples = ["How's the weather today?", "Who won the match?", "Is the sky green?"])
|
| 28 |
|