OriLib commited on
Commit
7a7235f
1 Parent(s): 9cd1858

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,7 +55,7 @@ def process(image):
55
  new_im.paste(orig_image, mask=pil_im)
56
 
57
  # return new_im
58
- return [orig_image, new_im]
59
 
60
 
61
  # block = gr.Blocks().queue()
@@ -91,7 +91,7 @@ gr.HTML('''
91
  </p>
92
  ''')
93
  title = "Background Removal"
94
- description = "Remove Image Background"
95
  examples = [['./input.jpg'],]
96
  output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
97
  demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
 
55
  new_im.paste(orig_image, mask=pil_im)
56
 
57
  # return new_im
58
+ return [new_im, new_im]
59
 
60
 
61
  # block = gr.Blocks().queue()
 
91
  </p>
92
  ''')
93
  title = "Background Removal"
94
+ description = "Remove background from any image"
95
  examples = [['./input.jpg'],]
96
  output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
97
  demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)