Commit
•
921614f
1
Parent(s):
4c06fca
app.py: adding gradio queue with concurrency of 10 (#2)
Browse files- app.py: adding gradio queue with concurrency of 10 (c596f658b01dfde26c2aafb62edbc21a29715e3c)
Co-authored-by: Stefan Benten <[email protected]>
app.py
CHANGED
@@ -170,5 +170,5 @@ with gr.Blocks(css=css) as demo:
|
|
170 |
|
171 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
172 |
|
173 |
-
|
174 |
demo.launch()
|
|
|
170 |
|
171 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
172 |
|
173 |
+
demo.queue(concurrency_count=10)
|
174 |
demo.launch()
|