Spaces:
Sleeping
Sleeping
sowbaranika13
commited on
Commit
•
0170147
1
Parent(s):
2bd8f40
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def load_and_preprocess_image(image, target_size=(224, 224)):
|
|
30 |
def predict(image):
|
31 |
results = {}
|
32 |
image_array = load_and_preprocess_image(image)
|
33 |
-
|
34 |
# Predict class level
|
35 |
class_preds = hierarchical_models['class'].predict(image_array)
|
36 |
print(class_preds)
|
|
|
30 |
def predict(image):
|
31 |
results = {}
|
32 |
image_array = load_and_preprocess_image(image)
|
33 |
+
print(image_array)
|
34 |
# Predict class level
|
35 |
class_preds = hierarchical_models['class'].predict(image_array)
|
36 |
print(class_preds)
|