Update model.py
Browse files
model.py
CHANGED
@@ -77,7 +77,7 @@ def image_transform(image):
|
|
77 |
image = image.convert('RGB')
|
78 |
|
79 |
# Apply the same transformations as before
|
80 |
-
image =
|
81 |
return image
|
82 |
|
83 |
|
|
|
77 |
image = image.convert('RGB')
|
78 |
|
79 |
# Apply the same transformations as before
|
80 |
+
image =image_transform(image).unsqueeze(0)
|
81 |
return image
|
82 |
|
83 |
|