veronhii commited on
Commit
f1a46ec
·
1 Parent(s): 1a8c036

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ with open("classlabel.txt", 'r') as file:
14
 
15
  # Function to normalize the image
16
  def normalize_image(img):
17
- img = tf.cast(img, tf.float32) / 255.0
18
  img = tf.image.resize(img, (IMG_HEIGHT, IMG_WIDTH), method='bilinear')
19
  return img
20
 
 
14
 
15
  # Function to normalize the image
16
  def normalize_image(img):
17
+ img = tf.cast(img, tf.float32)/255.
18
  img = tf.image.resize(img, (IMG_HEIGHT, IMG_WIDTH), method='bilinear')
19
  return img
20