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