IST199655
commited on
Commit
·
ade03a7
1
Parent(s):
699de73
app.py
CHANGED
|
@@ -127,6 +127,7 @@ def respond(
|
|
| 127 |
if "[Chatbot]:" in response: # Only stream the part after "[Chatbot]:"
|
| 128 |
assistant_response = response.split("[Chatbot]:", 1)[1].strip()
|
| 129 |
yield assistant_response
|
|
|
|
| 130 |
|
| 131 |
|
| 132 |
"""
|
|
|
|
| 127 |
if "[Chatbot]:" in response: # Only stream the part after "[Chatbot]:"
|
| 128 |
assistant_response = response.split("[Chatbot]:", 1)[1].strip()
|
| 129 |
yield assistant_response
|
| 130 |
+
print(response)
|
| 131 |
|
| 132 |
|
| 133 |
"""
|