JayRaghav commited on
Commit
61ce204
1 Parent(s): 7c691bf
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,7 +6,6 @@ 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
- output = remove(image)
10
- return output
11
 
12
  gr.Interface(fn=segment, inputs="image", outputs="image", title=title, description=description, article=article).launch(share=True)
 
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(share=True)