rishi9440 commited on
Commit
4470c14
·
1 Parent(s): a311fb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ def remove_background(input_image):
8
  output = remove(input) # remove background
9
  return output
10
 
11
- input_image = gr.inputs.Image(type="pil", label="Input Image")
12
- output_image = gr.outputs.Image(type="pil", label="Output Image")
13
 
14
  # Create a Gradio interface
15
  iface = gr.Interface(remove_background,
 
8
  output = remove(input) # remove background
9
  return output
10
 
11
+ input_image = gr.inputs.Image(type="filepath", label="Input Image")
12
+ output_image = gr.outputs.Image(type="filepath", label="Output Image")
13
 
14
  # Create a Gradio interface
15
  iface = gr.Interface(remove_background,