John Smith commited on
Commit
0a761bc
·
1 Parent(s): 389b78d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ import cv2
6
  import numpy as np
7
  model = load_model('eee.keras')
8
 
9
- def image_mod(image_mod):
10
- img = cv2.imread("Stuyvesant_Fish_House_25_E78_St_cloudy_jeh.jpg")
11
  resize = tf.image.resize(img, (256, 256))
12
  plt.imshow(resize.numpy().astype(int))
13
  yhat = model.predict(np.expand_dims(resize,0))
 
6
  import numpy as np
7
  model = load_model('eee.keras')
8
 
9
+ def image_mod(image):
10
+ img = cv2.imread(image)
11
  resize = tf.image.resize(img, (256, 256))
12
  plt.imshow(resize.numpy().astype(int))
13
  yhat = model.predict(np.expand_dims(resize,0))