Spaces:
Sleeping
Sleeping
update stuff
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ transform = transforms.Compose([
|
|
40 |
|
41 |
def predict(image):
|
42 |
image = image['composite']
|
43 |
-
image = Image.fromarray(image).convert('
|
44 |
input = transform(image).unsqueeze(0)
|
45 |
print(input.shape)
|
46 |
|
|
|
40 |
|
41 |
def predict(image):
|
42 |
image = image['composite']
|
43 |
+
image = Image.fromarray(image).convert('L')
|
44 |
input = transform(image).unsqueeze(0)
|
45 |
print(input.shape)
|
46 |
|