Maarij-Aqeel commited on
Commit
8279a9b
·
1 Parent(s): 8c048c7

Fix 'No API found' error by removing explicit api_name from Gradio UI

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -195,8 +195,7 @@ def create_ui():
195
  generate_btn.click(
196
  fn=run_vton_interface,
197
  inputs=[person_input, garment_input],
198
- outputs=[output_image],
199
- api_name="generate"
200
  )
201
 
202
  return demo
 
195
  generate_btn.click(
196
  fn=run_vton_interface,
197
  inputs=[person_input, garment_input],
198
+ outputs=[output_image]
 
199
  )
200
 
201
  return demo