Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -204,7 +204,7 @@ with block:
|
|
204 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery")
|
205 |
ips = [input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, strength, scale, seed,
|
206 |
eta, threshold]
|
207 |
-
run_button.click(fn=process, inputs=ips, outputs=[result_gallery], concurrency_limit=
|
208 |
|
209 |
block.queue(max_size=100)
|
210 |
block.launch(share=True)
|
|
|
204 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery")
|
205 |
ips = [input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, strength, scale, seed,
|
206 |
eta, threshold]
|
207 |
+
run_button.click(fn=process, inputs=ips, outputs=[result_gallery], concurrency_limit=2)
|
208 |
|
209 |
block.queue(max_size=100)
|
210 |
block.launch(share=True)
|