Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -354,6 +354,7 @@ def bot(history):
|
|
354 |
outputs = []
|
355 |
for text in streamer:
|
356 |
outputs.append(text)
|
|
|
357 |
our_chatbot.conversation.messages[-1][-1] = "".join(outputs)
|
358 |
history[-1] = [text, "".join(outputs)]
|
359 |
yield history
|
|
|
354 |
outputs = []
|
355 |
for text in streamer:
|
356 |
outputs.append(text)
|
357 |
+
print("### text",text)
|
358 |
our_chatbot.conversation.messages[-1][-1] = "".join(outputs)
|
359 |
history[-1] = [text, "".join(outputs)]
|
360 |
yield history
|