Spaces:
Sleeping
Sleeping
Commit
•
6c550ce
1
Parent(s):
8fd715d
Tentatively increase the concurrent limit given the queue is very long. (#1)
Browse files- Tentatively increase the concurrent limit given the queue is very long. (dedc9a8c78ea06c70be52ee21e551998ed38a7c7)
Co-authored-by: Tiezhen WANG <xianbao@users.noreply.huggingface.co>
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)
|