Rasleen commited on
Commit
660d3c0
Β·
verified Β·
1 Parent(s): 9178928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -125,3 +125,6 @@ with app_tab:
125
 
126
  if not recognized:
127
  st.error("❌ No matches above threshold. Try again.")
 
 
 
 
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)