Spaces:
Paused
Paused
stefanbenten
commited on
Commit
•
4a89318
1
Parent(s):
797a13a
app.py: reduce allowed concurrency
Browse files
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=
|
326 |
|
327 |
-
demo.queue(max_size=
|
|
|
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)
|