Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Disable API Usage (#85)
Browse files- Disable API Usage (dfe0c73a22998defb95fe708bf604a5a72f541ce)
Co-authored-by: Abubakar Abid <abidlabs@users.noreply.huggingface.co>
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], api_name=
|
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("""
|