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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
30
  with gr.Column(scale=0.20, min_width=0):
31
  clear = gr.Button("🔄Clear️")
32
 
33
- txt.submit(run_text, [txt, output], [chatbot, output])
34
- run.submit(run_text, [txt, output], [chatbot, output])
35
 
36
  demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7860)
 
30
  with gr.Column(scale=0.20, min_width=0):
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)