lfernandopg commited on
Commit
fd4da82
·
1 Parent(s): 443069c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ if file is not None:
16
  x = tf.image.resize(x, [80, 80])
17
  x = np.repeat(x[:, :, np.newaxis], 3, axis=2)
18
  x = np.squeeze(x)
 
19
  prediction = model.predict(x)
20
  print(prediction)
21
 
 
16
  x = tf.image.resize(x, [80, 80])
17
  x = np.repeat(x[:, :, np.newaxis], 3, axis=2)
18
  x = np.squeeze(x)
19
+ x = np.expand_dims(x, axis=0)
20
  prediction = model.predict(x)
21
  print(prediction)
22