Deadmon commited on
Commit
badd5ba
·
verified ·
1 Parent(s): f847fa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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", image_mode='RGB', tool=None),
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__":