change concurrency_count to default_concurrency_limit
Browse files
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(
|
|
|
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)
|