John Smith commited on
Commit
c10febf
·
1 Parent(s): c0d6cc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,8 +15,8 @@ def image_mod(image):
15
  resize = tf.image.resize(img, (256, 256))
16
  plt.imshow(resize.numpy().astype(int))
17
  yhat = model.predict(np.expand_dims(resize,0))
18
- display = np.argmax(yhat)
19
- display = str(display)
20
  #if display == "0":
21
  # message = "Rainy" # Jida,_Zhuhai,_rainy_day.jpg
22
  #if display == "1":
 
15
  resize = tf.image.resize(img, (256, 256))
16
  plt.imshow(resize.numpy().astype(int))
17
  yhat = model.predict(np.expand_dims(resize,0))
18
+ #display = np.argmax(yhat)
19
+ #display = str(display)
20
  #if display == "0":
21
  # message = "Rainy" # Jida,_Zhuhai,_rainy_day.jpg
22
  #if display == "1":