Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def remove_background(input_image):
|
|
19 |
# Create the Gradio interface
|
20 |
demo = gr.Interface(
|
21 |
fn=remove_background,
|
22 |
-
inputs=gr.Image(type="pil", label="Upload an image or Use Camera",
|
23 |
outputs=gr.Image(label="Processed Image",show_share_button=False, show_fullscreen_button=False),
|
24 |
css="footer {visibility: hidden}" # Hide the footer
|
25 |
)
|
|
|
19 |
# Create the Gradio interface
|
20 |
demo = gr.Interface(
|
21 |
fn=remove_background,
|
22 |
+
inputs=gr.Image(type="pil", label="Upload an image or Use Camera",sources="upload"),
|
23 |
outputs=gr.Image(label="Processed Image",show_share_button=False, show_fullscreen_button=False),
|
24 |
css="footer {visibility: hidden}" # Hide the footer
|
25 |
)
|