Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
•
f7234fc
1
Parent(s):
948ddc1
add concurrency_limit
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ with gr.Blocks(css=css) as Tryon:
|
|
238 |
|
239 |
|
240 |
# try_button.click(fn=start_tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon',concurrency_limit=10)
|
241 |
-
test_button.click(fn=tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon')
|
242 |
|
243 |
with gr.Column(elem_id = "col-showcase"):
|
244 |
gr.HTML("""
|
|
|
238 |
|
239 |
|
240 |
# try_button.click(fn=start_tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon',concurrency_limit=10)
|
241 |
+
test_button.click(fn=tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon', concurrency_limit=40)
|
242 |
|
243 |
with gr.Column(elem_id = "col-showcase"):
|
244 |
gr.HTML("""
|