Spaces:
Running
Running
Update app.py
Browse files
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)
|