Aleye commited on
Commit
89899a4
·
verified ·
1 Parent(s): fee2af4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ with gr.Blocks() as iface:
191
  with gr.Column():
192
  batch_clear = gr.Button("Clear")
193
  #Events
194
- single_removebg.click(inference, inputs=image, outputs=image_output)
195
  batch_removebg.click(batch, inputs=images, outputs=[gallery,file_list])
196
  single_clear.click(lambda: None, None, image, queue=False)
197
  batch_clear.click(lambda: None, None, images, queue=False)
 
191
  with gr.Column():
192
  batch_clear = gr.Button("Clear")
193
  #Events
194
+ single_removebg.click(inference, inputs=image, outputs=image_output,api_name="removebg")
195
  batch_removebg.click(batch, inputs=images, outputs=[gallery,file_list])
196
  single_clear.click(lambda: None, None, image, queue=False)
197
  batch_clear.click(lambda: None, None, images, queue=False)