andrewzamp commited on
Commit
dca3a9e
·
verified ·
1 Parent(s): cbaee11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def make_prediction(image, taxonomic_decision, taxonomic_level):
108
  top_prediction_index = np.argmax(aggregated_predictions)
109
  top_prediction_confidence = aggregated_predictions[0][top_prediction_index]
110
 
111
- if top_prediction_confidence >= 0.80:
112
  break # Confidence threshold met, exit loop
113
 
114
  current_level_index += 1 # Move to the next taxonomic level
 
108
  top_prediction_index = np.argmax(aggregated_predictions)
109
  top_prediction_confidence = aggregated_predictions[0][top_prediction_index]
110
 
111
+ if top_prediction_confidence >= 0.75:
112
  break # Confidence threshold met, exit loop
113
 
114
  current_level_index += 1 # Move to the next taxonomic level