Update app.py
Browse files
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)
|