user-agent commited on
Commit
4775a16
·
verified ·
1 Parent(s): 1e22887

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -81,9 +81,9 @@ def handler(image=None, image_url=None, batch_urls=None) -> Union[str, List[str]
81
  demo = gr.Interface(
82
  fn=handler,
83
  inputs=[
84
- gr.Image(label="Upload Image", type="pil", optional=True),
85
- gr.Textbox(label="Paste Image URL", optional=True),
86
- gr.Textbox(label="Comma-separated Image URLs (Batch)", optional=True),
87
  ],
88
  outputs=gr.File(label="Output File(s)", file_count="multiple"),
89
  title="Background Remover (White Fill)",
 
81
  demo = gr.Interface(
82
  fn=handler,
83
  inputs=[
84
+ gr.Image(label="Upload Image", type="pil"),
85
+ gr.Textbox(label="Paste Image URL"),
86
+ gr.Textbox(label="Comma-separated Image URLs (Batch)"),
87
  ],
88
  outputs=gr.File(label="Output File(s)", file_count="multiple"),
89
  title="Background Remover (White Fill)",