JayRaghav commited on
Commit
b107ccd
·
1 Parent(s): a882f8c
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,6 +6,7 @@ description = "Remove background for any image , To use it, simply upload your i
6
  article = "<p style='text-align: center;'><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
7
 
8
  def segment(image):
9
- return remove(image)
 
10
 
11
  gr.Interface(fn=segment, inputs="image", outputs="image", title=title, description=description, article=article).launch()
 
6
  article = "<p style='text-align: center;'><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
7
 
8
  def segment(image):
9
+ output = remove(image)
10
+ return output
11
 
12
  gr.Interface(fn=segment, inputs="image", outputs="image", title=title, description=description, article=article).launch()