Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ def remove_background(input_image):
|
|
8 |
output = remove(input) # remove background
|
9 |
return output
|
10 |
|
11 |
-
input_image = gr.inputs.Image(type="
|
12 |
-
output_image = gr.outputs.Image(type="
|
13 |
|
14 |
# Create a Gradio interface
|
15 |
iface = gr.Interface(remove_background,
|
|
|
8 |
output = remove(input) # remove background
|
9 |
return output
|
10 |
|
11 |
+
input_image = gr.inputs.Image(type="filepath", label="Input Image")
|
12 |
+
output_image = gr.outputs.Image(type="filepath", label="Output Image")
|
13 |
|
14 |
# Create a Gradio interface
|
15 |
iface = gr.Interface(remove_background,
|