rezaenayati commited on
Commit
7582b30
·
verified ·
1 Parent(s): b024762

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def predict(input_dict):
27
  image = image.numpy().reshape(-1, 28, 28, 1)
28
 
29
  # Predict
30
- prediction = model_cnn.predict(image)
31
  probs = tf.nn.softmax(prediction[0]).numpy()
32
  return {str(i): float(probs[i]) for i in range(10)}
33
 
 
27
  image = image.numpy().reshape(-1, 28, 28, 1)
28
 
29
  # Predict
30
+ prediction = model.predict(image)
31
  probs = tf.nn.softmax(prediction[0]).numpy()
32
  return {str(i): float(probs[i]) for i in range(10)}
33