unsubscribe commited on
Commit
003ed7b
1 Parent(s): 973cec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -116,5 +116,4 @@ with gr.Blocks(css=CSS, theme=THEME) as demo:
116
 
117
  demo.load(init, inputs=None, outputs=[state_session_id])
118
 
119
- demo.queue(concurrency_count=InterFace.async_engine.instance_num,
120
- max_size=100).launch()
 
116
 
117
  demo.load(init, inputs=None, outputs=[state_session_id])
118
 
119
+ demo.queue(max_size=100).launch(max_threads=InterFace.async_engine.instance_num)