littlebird13 commited on
Commit
323564f
1 Parent(s): a0d8892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks() as demo:
86
  sumbit.click(model_chat,
87
  inputs=[textbox, chatbot, system_state],
88
  outputs=[textbox, chatbot, system_input],
89
- concurrency_limit = 2)
90
  clear_history.click(fn=clear_session,
91
  inputs=[],
92
  outputs=[textbox, chatbot])
@@ -95,4 +95,4 @@ with gr.Blocks() as demo:
95
  outputs=[system_state, system_input, chatbot])
96
 
97
  demo.queue(api_open=False)
98
- demo.launch(max_threads=2)
 
86
  sumbit.click(model_chat,
87
  inputs=[textbox, chatbot, system_state],
88
  outputs=[textbox, chatbot, system_input],
89
+ concurrency_limit = 5)
90
  clear_history.click(fn=clear_session,
91
  inputs=[],
92
  outputs=[textbox, chatbot])
 
95
  outputs=[system_state, system_input, chatbot])
96
 
97
  demo.queue(api_open=False)
98
+ demo.launch(max_threads=5)