animeshmaheshwari commited on
Commit
986d5a9
·
1 Parent(s): b8bdcdd

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 = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
12
- image = tf.image.resize(images=image,(28,28,1))
13
  return image
14
 
15
  def infer(model, image):
 
9
 
10
  def read_image(image):
11
  image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
12
+ image = tf.image.resize(image,(28,28,1))
13
  return image
14
 
15
  def infer(model, image):