Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def remove_background(image):
|
|
19 |
# Gradio Interface
|
20 |
iface = gr.Interface(
|
21 |
fn=remove_background,
|
22 |
-
inputs=gr.Image(label="Upload Image"
|
23 |
outputs=gr.Image(label="Output Image"),
|
24 |
css="""
|
25 |
body {
|
@@ -103,8 +103,7 @@ iface = gr.Interface(
|
|
103 |
}
|
104 |
""",
|
105 |
title="Background Remover",
|
106 |
-
description="Upload an image to remove its background."
|
107 |
-
layout="vertical"
|
108 |
)
|
109 |
|
110 |
if __name__ == "__main__":
|
|
|
19 |
# Gradio Interface
|
20 |
iface = gr.Interface(
|
21 |
fn=remove_background,
|
22 |
+
inputs=gr.Image(label="Upload Image"),
|
23 |
outputs=gr.Image(label="Output Image"),
|
24 |
css="""
|
25 |
body {
|
|
|
103 |
}
|
104 |
""",
|
105 |
title="Background Remover",
|
106 |
+
description="Upload an image to remove its background."
|
|
|
107 |
)
|
108 |
|
109 |
if __name__ == "__main__":
|