Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ with gr.Blocks(title=title) as demo:
|
|
231 |
history
|
232 |
):
|
233 |
history[-1][1] += character
|
234 |
-
yield history
|
235 |
|
236 |
msg.submit(user_msg, [msg, chatbot], [msg, chatbot], queue=False).then(
|
237 |
respond, chatbot, chatbot, api_name="chat"
|
|
|
231 |
history
|
232 |
):
|
233 |
history[-1][1] += character
|
234 |
+
# yield history
|
235 |
|
236 |
msg.submit(user_msg, [msg, chatbot], [msg, chatbot], queue=False).then(
|
237 |
respond, chatbot, chatbot, api_name="chat"
|