Spaces:
Running
on
Zero
Running
on
Zero
Jagrut Thakare
commited on
Commit
·
d4f9371
1
Parent(s):
b36845a
v2.1
Browse files
app.py
CHANGED
@@ -16,9 +16,7 @@ def process_image(image, mask, progress=gr.Progress(track_tqdm=True)):
|
|
16 |
output = process_inpaint(image["background"], image["layers"][0])
|
17 |
else:
|
18 |
print("Processing Received Mask")
|
19 |
-
print("Mask
|
20 |
-
print("Mask : ", mask)
|
21 |
-
print("Mask : ", mask["background"])
|
22 |
output = process_inpaint(image["background"], mask["background"])
|
23 |
img_output = Image.fromarray(output).convert("RGB")
|
24 |
|
|
|
16 |
output = process_inpaint(image["background"], image["layers"][0])
|
17 |
else:
|
18 |
print("Processing Received Mask")
|
19 |
+
print("Mask : ", mask["background"][:,:,3])
|
|
|
|
|
20 |
output = process_inpaint(image["background"], mask["background"])
|
21 |
img_output = Image.fromarray(output).convert("RGB")
|
22 |
|