hwberry2 commited on
Commit
082d146
·
1 Parent(s): c7e5ac7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ with gr.Blocks() as demo:
71
  input_array = np.expand_dims(resized_array, axis=0) # add an extra dimension to represent the batch size
72
 
73
  # Make a prediction using the model
74
- prediction = probability_model.predict(img_array)
75
 
76
  # Postprocess the prediction and return it
77
  return np.argmax(predictions[0])
 
71
  input_array = np.expand_dims(resized_array, axis=0) # add an extra dimension to represent the batch size
72
 
73
  # Make a prediction using the model
74
+ prediction = probability_model.predict(input_array)
75
 
76
  # Postprocess the prediction and return it
77
  return np.argmax(predictions[0])