Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ 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"),
|
23 |
-
outputs=gr.Image(label="Processed Image",show_share_button=False ),
|
24 |
css="footer {visibility: hidden}" # Hide the footer
|
25 |
)
|
26 |
|
|
|
19 |
# Create the Gradio interface
|
20 |
demo = gr.Interface(
|
21 |
fn=remove_background,
|
22 |
+
inputs=gr.Image(type="pil", label="Upload an image",mirror_webcam=False),
|
23 |
+
outputs=gr.Image(label="Processed Image",show_share_button=False, show_fullscreen_button=False),
|
24 |
css="footer {visibility: hidden}" # Hide the footer
|
25 |
)
|
26 |
|