cycool29 commited on
Commit
00bdf50
·
1 Parent(s): 052b3e8
Files changed (1) hide show
  1. 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