abidlabs HF staff commited on
Commit
dfe0c73
1 Parent(s): 946d626

Disable API Usage

Browse files
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("""