setsosie commited on
Commit
084ddd1
·
verified ·
1 Parent(s): 6d6b164

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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