Omnibus commited on
Commit
fb04c80
·
1 Parent(s): 33fa1b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -220,6 +220,6 @@ with gr.Blocks() as app:
220
  #text=gr.JSON()
221
  #inp_query.change(search_models,inp_query,models_dd)
222
  clear_btn.click(clear_fn,None,[prompt,chatbot])
223
- go=button.click(summarize,[prompt,chatbot,data,file],[prompt,chatbot])
224
  stop_button.click(None,None,None,cancels=[go])
225
  app.launch(server_port=7860,show_api=False)
 
220
  #text=gr.JSON()
221
  #inp_query.change(search_models,inp_query,models_dd)
222
  clear_btn.click(clear_fn,None,[prompt,chatbot])
223
+ go=button.click(summarize,[prompt,chatbot,data,file],[prompt,chatbot],concurrency_limit=1)
224
  stop_button.click(None,None,None,cancels=[go])
225
  app.launch(server_port=7860,show_api=False)