Update
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ def remove_background(image: PIL.Image.Image) -> tuple[PIL.Image.Image, PIL.Imag
|
|
14 |
image: The image to remove the background from.
|
15 |
|
16 |
Returns:
|
17 |
-
A tuple containing the
|
18 |
"""
|
19 |
-
return
|
20 |
|
21 |
|
22 |
with gr.Blocks(css_paths="style.css") as demo:
|
|
|
14 |
image: The image to remove the background from.
|
15 |
|
16 |
Returns:
|
17 |
+
A tuple containing the image with the background removed and the original image.
|
18 |
"""
|
19 |
+
return rembg.remove(image), image
|
20 |
|
21 |
|
22 |
with gr.Blocks(css_paths="style.css") as demo:
|