Spaces:
Runtime error
Runtime error
Jagrut Thakare
commited on
Commit
·
a19d094
1
Parent(s):
1d45237
v2.4
Browse files
app.py
CHANGED
|
@@ -20,9 +20,6 @@ def process_image(image, mask, progress=gr.Progress(track_tqdm=True)):
|
|
| 20 |
output = process_inpaint(image["background"], mask)
|
| 21 |
else:
|
| 22 |
print("\nProcessing Received Mask\n")
|
| 23 |
-
print("Mask Size : ", mask.shape)
|
| 24 |
-
print("Unique values: ", np.unique(mask))
|
| 25 |
-
print("Type : ", type(mask))
|
| 26 |
print("Mask Size : ", mask["background"].shape)
|
| 27 |
print("Unique values: ", np.unique(mask["background"]))
|
| 28 |
print("Type : ", type(mask["background"]))
|
|
|
|
| 20 |
output = process_inpaint(image["background"], mask)
|
| 21 |
else:
|
| 22 |
print("\nProcessing Received Mask\n")
|
|
|
|
|
|
|
|
|
|
| 23 |
print("Mask Size : ", mask["background"].shape)
|
| 24 |
print("Unique values: ", np.unique(mask["background"]))
|
| 25 |
print("Type : ", type(mask["background"]))
|