Spaces:
Runtime error
Runtime error
a3
Browse files
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 |
-
|
|
|
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()
|