Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -233,8 +233,8 @@ with gr.Blocks() as ux:
|
|
| 233 |
file_name=gr.Textbox(label="File Name")
|
| 234 |
file_btn=gr.Button("Load Files")
|
| 235 |
file_json=gr.JSON()
|
| 236 |
-
sub_b = submit_b.click(agent, [chatbot],chatbot)
|
| 237 |
-
sub_p = prompt.submit(agent, [chatbot],chatbot)
|
| 238 |
stop_b.click(None,None,None, cancels=[sub_b,sub_p])
|
| 239 |
ux.queue(default_concurrency_limit=20).launch(max_threads=40)
|
| 240 |
|
|
|
|
| 233 |
file_name=gr.Textbox(label="File Name")
|
| 234 |
file_btn=gr.Button("Load Files")
|
| 235 |
file_json=gr.JSON()
|
| 236 |
+
sub_b = submit_b.click(agent, [prompt,chatbot,mod_c],chatbot)
|
| 237 |
+
sub_p = prompt.submit(agent, [prompt,chatbot,mod_c],chatbot)
|
| 238 |
stop_b.click(None,None,None, cancels=[sub_b,sub_p])
|
| 239 |
ux.queue(default_concurrency_limit=20).launch(max_threads=40)
|
| 240 |
|