ZeeAI1 commited on
Commit
5720da1
·
verified ·
1 Parent(s): 749c6c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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], _js="() => {}")
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