Stefan Benten commited on
Commit
c596f65
1 Parent(s): 4c06fca

app.py: adding gradio queue with concurrency of 10

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()