djairbee5 commited on
Commit
2c24524
1 Parent(s): bb8f6a5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def predict_image(image, model_choice):
77
  confidence_score = confidence.item() * 100
78
 
79
  if confidence_score < 30:
80
- result = "Not identified\nTry to crop the image or choose another one!"
81
  html_result = ""
82
  else:
83
  class_name = class_names[preds.item()]
 
77
  confidence_score = confidence.item() * 100
78
 
79
  if confidence_score < 30:
80
+ result = "Not identified"
81
  html_result = ""
82
  else:
83
  class_name = class_names[preds.item()]