Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,11 @@ def respond(
|
|
| 24 |
|
| 25 |
response = ""
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"""
|
| 28 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 29 |
"""
|
|
|
|
| 24 |
|
| 25 |
response = ""
|
| 26 |
|
| 27 |
+
for message in client.chat_completion(
|
| 28 |
+
messages
|
| 29 |
+
):
|
| 30 |
+
yield response
|
| 31 |
+
|
| 32 |
"""
|
| 33 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 34 |
"""
|