ucaslx abidlabs HF staff commited on
Commit
536baa4
1 Parent(s): 946d626

Disable API Usage (#85)

Browse files

- Disable API Usage (dfe0c73a22998defb95fe708bf604a5a72f541ce)


Co-authored-by: Abubakar Abid <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
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='tryon', 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("""