Update app.py
Browse files
app.py
CHANGED
@@ -328,7 +328,7 @@ with gr.Blocks(css=css) as Portrait:
|
|
328 |
test_button = gr.Button(value="Run", elem_id="button")
|
329 |
|
330 |
|
331 |
-
test_button.click(fn=portrait_gen, inputs=[imgs, refer_img, prompt, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name=False)
|
332 |
|
333 |
with gr.Column(elem_id = "col-showcase"):
|
334 |
gr.HTML("""
|
|
|
328 |
test_button = gr.Button(value="Run", elem_id="button")
|
329 |
|
330 |
|
331 |
+
test_button.click(fn=portrait_gen, inputs=[imgs, refer_img, prompt, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name=False, concurrency_limit=10)
|
332 |
|
333 |
with gr.Column(elem_id = "col-showcase"):
|
334 |
gr.HTML("""
|