Spaces:
Running
Running
Update app.py
Browse files
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)
|