John Smith commited on
Commit
82e76f8
·
1 Parent(s): 8fd9060

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -15,8 +15,7 @@ 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
- if yhat == "":
19
- yhat = "None"
20
  #display = np.argmax(yhat)
21
  #display = str(display)
22
  #if display == "0":
 
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
+ str(yhat)
 
19
  #display = np.argmax(yhat)
20
  #display = str(display)
21
  #if display == "0":