hwberry2 commited on
Commit
cff29bc
·
1 Parent(s): 73115d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ with gr.Blocks() as demo:
74
  prediction = probability_model.predict(input_array)
75
 
76
  # Postprocess the prediction and return it
77
- return np.argmax(predictions)
78
 
79
 
80
  # Creates the Gradio interface objects
 
74
  prediction = probability_model.predict(input_array)
75
 
76
  # Postprocess the prediction and return it
77
+ return np.argmax(prediction)
78
 
79
 
80
  # Creates the Gradio interface objects