Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ def segformer_b2_clothes(img):
|
|
14 |
|
15 |
def remove_background(img):
|
16 |
segformer_b2_clothes_result = segformer_b2_clothes(img)
|
17 |
-
|
18 |
-
|
19 |
|
20 |
iface = gr.Interface(fn=remove_background,
|
21 |
inputs=gr.Image(type='pil'),
|
|
|
14 |
|
15 |
def remove_background(img):
|
16 |
segformer_b2_clothes_result = segformer_b2_clothes(img)
|
17 |
+
|
18 |
+
return segformer_b2_clothes_result
|
19 |
|
20 |
iface = gr.Interface(fn=remove_background,
|
21 |
inputs=gr.Image(type='pil'),
|