Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def inpaintGen(
|
|
67 |
|
68 |
source_img = Image.open(source_path).convert("RGB")
|
69 |
mask_img = Image.open(mask_path).convert('L')
|
70 |
-
mask_img = Image.
|
71 |
|
72 |
#mask_img = create_mask_image(mask_img)
|
73 |
|
|
|
67 |
|
68 |
source_img = Image.open(source_path).convert("RGB")
|
69 |
mask_img = Image.open(mask_path).convert('L')
|
70 |
+
mask_img = Image.fromarray(255 - np.array(mask_img))
|
71 |
|
72 |
#mask_img = create_mask_image(mask_img)
|
73 |
|