Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def inference(image):
|
|
139 |
|
140 |
pil_mask = Image.fromarray(mask).convert('L')
|
141 |
im_rgb = Image.open(image).convert("RGB")
|
142 |
-
imrgba1 =
|
143 |
imrgba2 = remove(imrgba1,210)
|
144 |
|
145 |
im_rgba = im_rgb.copy()
|
|
|
139 |
|
140 |
pil_mask = Image.fromarray(mask).convert('L')
|
141 |
im_rgb = Image.open(image).convert("RGB")
|
142 |
+
imrgba1 = im_rgb.copy()
|
143 |
imrgba2 = remove(imrgba1,210)
|
144 |
|
145 |
im_rgba = im_rgb.copy()
|