Spaces:
Paused
Paused
lixiang46
commited on
Commit
•
4aa1288
1
Parent(s):
c530eeb
disable api
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ with gr.Blocks(css=css) as Tryon:
|
|
247 |
|
248 |
|
249 |
# 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)
|
250 |
-
test_button.click(fn=tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], concurrency_limit=45)
|
251 |
|
252 |
with gr.Column(elem_id = "col-showcase"):
|
253 |
gr.HTML("""
|
|
|
247 |
|
248 |
|
249 |
# 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)
|
250 |
+
test_button.click(fn=tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name=False, concurrency_limit=45)
|
251 |
|
252 |
with gr.Column(elem_id = "col-showcase"):
|
253 |
gr.HTML("""
|