animeshmaheshwari commited on
Commit
c2029dd
·
1 Parent(s): 045f0da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ model = from_pretrained_keras("keras-io/keras-reptile")
9
 
10
  def read_image(image):
11
  image = tf.convert_to_tensor(image)
12
- image = cv2.resize()
13
  image = image / 127.5 - 1
14
  return image
15
 
 
9
 
10
  def read_image(image):
11
  image = tf.convert_to_tensor(image)
12
+ image = tf.image.resize(images=image, size=[img_size, img_size])
13
  image = image / 127.5 - 1
14
  return image
15