Update
Browse files- predict.py +1 -3
predict.py
CHANGED
@@ -50,7 +50,5 @@ def predict_image(image_path, model=MODEL, transform=preprocess):
|
|
50 |
# Report the prediction
|
51 |
print("Predicted class:", predicted_label)
|
52 |
print("Predicted label:", predicted_class)
|
53 |
-
print("---------------------------")
|
54 |
-
|
55 |
-
return predicted_label, sorted_classes
|
56 |
|
|
|
|
50 |
# Report the prediction
|
51 |
print("Predicted class:", predicted_label)
|
52 |
print("Predicted label:", predicted_class)
|
|
|
|
|
|
|
53 |
|
54 |
+
return sorted_classes
|