Spaces:
Running
Running
Tentatively increase the concurrent limit given the queue is very long.
#1
by
xianbao
HF staff
- opened
app.py
CHANGED
@@ -90,7 +90,7 @@ with gr.Blocks() as demo:
|
|
90 |
sumbit.click(model_chat,
|
91 |
inputs=[textbox, chatbot, system_state],
|
92 |
outputs=[textbox, chatbot, system_input],
|
93 |
-
concurrency_limit =
|
94 |
clear_history.click(fn=clear_session,
|
95 |
inputs=[],
|
96 |
outputs=[textbox, chatbot])
|
@@ -99,4 +99,4 @@ with gr.Blocks() as demo:
|
|
99 |
outputs=[system_state, system_input, chatbot])
|
100 |
|
101 |
demo.queue(api_open=False)
|
102 |
-
demo.launch(max_threads=
|
|
|
90 |
sumbit.click(model_chat,
|
91 |
inputs=[textbox, chatbot, system_state],
|
92 |
outputs=[textbox, chatbot, system_input],
|
93 |
+
concurrency_limit = 10)
|
94 |
clear_history.click(fn=clear_session,
|
95 |
inputs=[],
|
96 |
outputs=[textbox, chatbot])
|
|
|
99 |
outputs=[system_state, system_input, chatbot])
|
100 |
|
101 |
demo.queue(api_open=False)
|
102 |
+
demo.launch(max_threads=10)
|