Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,6 +30,7 @@ def predict(img):
|
|
| 30 |
print(img.dtype)
|
| 31 |
print(type(img))
|
| 32 |
img = T.Resize(size=(224, 224))(img)
|
|
|
|
| 33 |
print(type(img))
|
| 34 |
print(img.dtype)
|
| 35 |
|
|
|
|
| 30 |
print(img.dtype)
|
| 31 |
print(type(img))
|
| 32 |
img = T.Resize(size=(224, 224))(img)
|
| 33 |
+
img = img / 255
|
| 34 |
print(type(img))
|
| 35 |
print(img.dtype)
|
| 36 |
|