Spaces:
Runtime error
Runtime error
Commit
Β·
eafe020
1
Parent(s):
1b89c6a
Update app.py
Browse files
app.py
CHANGED
|
@@ -476,6 +476,7 @@ def gradio_stream_answer(chatbot, chat_state, img_list, temperature):
|
|
| 476 |
output += escapped
|
| 477 |
chatbot[-1][1] = output
|
| 478 |
yield chatbot, chat_state
|
|
|
|
| 479 |
chat_state.messages[-1][1] = '</s>'
|
| 480 |
return chatbot, chat_state
|
| 481 |
|
|
|
|
| 476 |
output += escapped
|
| 477 |
chatbot[-1][1] = output
|
| 478 |
yield chatbot, chat_state
|
| 479 |
+
print(output)
|
| 480 |
chat_state.messages[-1][1] = '</s>'
|
| 481 |
return chatbot, chat_state
|
| 482 |
|