Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,8 +125,8 @@ def respond(
|
|
| 125 |
if token:
|
| 126 |
response += token
|
| 127 |
yield response
|
| 128 |
-
else:
|
| 129 |
-
|
| 130 |
|
| 131 |
"""
|
| 132 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
|
|
|
| 125 |
if token:
|
| 126 |
response += token
|
| 127 |
yield response
|
| 128 |
+
# else:
|
| 129 |
+
# yield "Please clear the history and try again."
|
| 130 |
|
| 131 |
"""
|
| 132 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|