Rooni commited on
Commit
24a3ce5
1 Parent(s): 9827fe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -174,7 +174,9 @@ with gr.Blocks(css=css) as demo:
174
  create_button.click(
175
  fn=generate_image,
176
  inputs=[prompt_input, style_radio, width_slider, height_slider, seed_slider],
177
- outputs=[output_image]
 
 
178
  )
179
 
180
  demo.queue(max_size=250).launch(show_api=False, share=False)
 
174
  create_button.click(
175
  fn=generate_image,
176
  inputs=[prompt_input, style_radio, width_slider, height_slider, seed_slider],
177
+ outputs=[output_image],
178
+ queue=True,
179
+ concurrency=250
180
  )
181
 
182
  demo.queue(max_size=250).launch(show_api=False, share=False)