Update app.py
Browse files
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,
|
34 |
-
run.submit(run_text, [txt,
|
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)
|