Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def custom_decode_predictions(predictions, class_labels):
|
|
| 63 |
|
| 64 |
def classify_image(img):
|
| 65 |
img_array = img_to_array(img)
|
| 66 |
-
img_array = np.expand_dims(img_array, axis=0
|
| 67 |
img_array = preprocess_input(img_array)
|
| 68 |
|
| 69 |
|
|
|
|
| 63 |
|
| 64 |
def classify_image(img):
|
| 65 |
img_array = img_to_array(img)
|
| 66 |
+
img_array = np.expand_dims(img_array, axis=0)
|
| 67 |
img_array = preprocess_input(img_array)
|
| 68 |
|
| 69 |
|