zxcgqq commited on
Commit
db39c7e
·
1 Parent(s): 7250438

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,6 +31,6 @@ with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
31
  clear = gr.Button("🔄Clear️")
32
 
33
  txt.submit(run_text, [txt, state], [chatbot, state])
34
- run.submit(run_text, [txt, state], [chatbot, state])
35
 
36
  demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7860)
 
31
  clear = gr.Button("🔄Clear️")
32
 
33
  txt.submit(run_text, [txt, state], [chatbot, state])
34
+ run.click(run_text, [txt, state], [chatbot, state])
35
 
36
  demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7860)