stefanbenten commited on
Commit
4a89318
1 Parent(s): 797a13a

app.py: reduce allowed concurrency

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -322,6 +322,6 @@ with gr.Blocks(css=css) as demo:
322
  send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt,
323
  steps, seed, model, sampler,
324
  width, height, cfg_scale],
325
- concurrency_limit=64)
326
 
327
- demo.queue(max_size=80, api_open=False).launch(max_threads=256, show_api=False)
 
322
  send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt,
323
  steps, seed, model, sampler,
324
  width, height, cfg_scale],
325
+ concurrency_limit=32)
326
 
327
+ demo.queue(max_size=40, api_open=False).launch(max_threads=128, show_api=False)