Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|