broadfield commited on
Commit
9a4f9ad
·
verified ·
1 Parent(s): 78e91a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -226,8 +226,8 @@ with gr.Blocks() as ux:
226
  file_name=gr.Textbox(label="File Name")
227
  file_btn=gr.Button("Load Files")
228
  file_json=gr.JSON()
229
- sub_b = submit_b.click(agent, [chatbot,mod_c],chatbot)
230
- sub_p = prompt.submit(agent, [chatbot,mod_c],chatbot)
231
  stop_b.click(None,None,None, cancels=[sub_b,sub_p])
232
  ux.queue(default_concurrency_limit=20).launch(max_threads=40)
233
 
 
226
  file_name=gr.Textbox(label="File Name")
227
  file_btn=gr.Button("Load Files")
228
  file_json=gr.JSON()
229
+ sub_b = submit_b.click(agent, [chatbot],chatbot)
230
+ sub_p = prompt.submit(agent, [chatbot],chatbot)
231
  stop_b.click(None,None,None, cancels=[sub_b,sub_p])
232
  ux.queue(default_concurrency_limit=20).launch(max_threads=40)
233