Rasleen commited on
Commit
95edef9
Β·
verified Β·
1 Parent(s): 5323281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -123,8 +123,6 @@ with app_tab:
123
  else:
124
  st.warning("❌ Face match not found or too low confidence.")
125
 
126
- if not recognized:
127
- st.error("❌ No matches above threshold. Try again.")
128
  # Convert back to RGB for display
129
  image_rgb = cv2.cvtColor(image_bgr, cv2.COLOR_BGR2RGB)
130
  st.image(image_rgb, caption="Detected Faces", use_column_width=True)
 
123
  else:
124
  st.warning("❌ Face match not found or too low confidence.")
125
 
 
 
126
  # Convert back to RGB for display
127
  image_rgb = cv2.cvtColor(image_bgr, cv2.COLOR_BGR2RGB)
128
  st.image(image_rgb, caption="Detected Faces", use_column_width=True)