zenafey commited on
Commit
16b5121
1 Parent(s): 9dc331c

change concurrency_count to default_concurrency_limit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,4 +147,4 @@ with gr.Blocks(css=css) as demo:
147
 
148
  text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
149
 
150
- demo.queue(concurrency_count=24, max_size=32, api_open=False).launch(max_threads=128)
 
147
 
148
  text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
149
 
150
+ demo.queue(default_concurrency_limit=24, max_size=32, api_open=False).launch(max_threads=128)