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