Update app.py
Browse files
app.py
CHANGED
|
@@ -333,7 +333,7 @@ with gr.Blocks() as demo:
|
|
| 333 |
|
| 334 |
state = gr.State({})
|
| 335 |
|
| 336 |
-
msg.submit(chat_function, [msg, chatbot, state], [chatbot, state]
|
| 337 |
clear.click(lambda: ([], {}), None, [chatbot, state], queue=False)
|
| 338 |
|
| 339 |
# Launch Gradio
|
|
|
|
| 333 |
|
| 334 |
state = gr.State({})
|
| 335 |
|
| 336 |
+
msg.submit(chat_function, [msg, chatbot, state], [chatbot, state])
|
| 337 |
clear.click(lambda: ([], {}), None, [chatbot, state], queue=False)
|
| 338 |
|
| 339 |
# Launch Gradio
|