Spaces:
Running
on
Zero
Running
on
Zero
Jagrut Thakare
commited on
Commit
·
2c4722e
1
Parent(s):
a19d094
v2.5
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def process_image(image, mask, progress=gr.Progress(track_tqdm=True)):
|
|
24 |
print("Unique values: ", np.unique(mask["background"]))
|
25 |
print("Type : ", type(mask["background"]))
|
26 |
mask = mask["background"]
|
27 |
-
output = process_inpaint(image["background"], mask
|
28 |
img_output = Image.fromarray(output).convert("RGB")
|
29 |
|
30 |
return img_output, mask
|
|
|
24 |
print("Unique values: ", np.unique(mask["background"]))
|
25 |
print("Type : ", type(mask["background"]))
|
26 |
mask = mask["background"]
|
27 |
+
output = process_inpaint(image["background"], mask)
|
28 |
img_output = Image.fromarray(output).convert("RGB")
|
29 |
|
30 |
return img_output, mask
|