Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ def infer(img,option):
|
|
16 |
print(type(img))
|
17 |
print(type(img["image"]))
|
18 |
print(type(img["mask"]))
|
19 |
-
print(type(Image.fromarray(img["image"]))
|
20 |
imageio.imwrite("./data/data.png", img["image"])
|
21 |
if option == "automatic (U2net)":
|
22 |
result = model.Segmentation(
|
|
|
16 |
print(type(img))
|
17 |
print(type(img["image"]))
|
18 |
print(type(img["mask"]))
|
|
|
19 |
imageio.imwrite("./data/data.png", img["image"])
|
20 |
if option == "automatic (U2net)":
|
21 |
result = model.Segmentation(
|