Spaces:
Sleeping
Sleeping
debug
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def bot(history):
|
|
55 |
user_message = history[-1][0]
|
56 |
|
57 |
for chunk in chain.stream({"text": user_message}):
|
58 |
-
history[-1][1] += chunk
|
59 |
yield history
|
60 |
|
61 |
|
|
|
55 |
user_message = history[-1][0]
|
56 |
|
57 |
for chunk in chain.stream({"text": user_message}):
|
58 |
+
history[-1][1] += chunk["text"]
|
59 |
yield history
|
60 |
|
61 |
|