Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
| 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
|