OmerFarooq commited on
Commit
0afb7f8
1 Parent(s): 384c3f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ base_model.trainable = False
18
 
19
  def img_pros(img):
20
  original_img = tf.keras.preprocessing.image.img_to_array(img)
21
- original_img_shape = img.shape
22
  img = tf.image.resize(original_img, [160,160])
23
  img = tf.expand_dims(img, axis = 0)
24
  return img, original_img, original_img_shape
 
18
 
19
  def img_pros(img):
20
  original_img = tf.keras.preprocessing.image.img_to_array(img)
21
+ original_img_shape = original_img.shape
22
  img = tf.image.resize(original_img, [160,160])
23
  img = tf.expand_dims(img, axis = 0)
24
  return img, original_img, original_img_shape