Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def get_predictions(y_prediction_encoded):
|
|
59 |
return predicted_label_indices
|
60 |
|
61 |
def predict(image):
|
62 |
-
sample_image_resized = resize_image(image
|
63 |
y_pred = ensemble_predict(sample_image_resized)
|
64 |
y_pred = get_predictions(y_pred).squeeze()
|
65 |
|
|
|
59 |
return predicted_label_indices
|
60 |
|
61 |
def predict(image):
|
62 |
+
sample_image_resized = resize_image(image)
|
63 |
y_pred = ensemble_predict(sample_image_resized)
|
64 |
y_pred = get_predictions(y_pred).squeeze()
|
65 |
|