nielitropar commited on
Commit
98bc878
·
1 Parent(s): eb6c9cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,8 +103,8 @@ if img_file_buffer is not None:
103
  match_found = True # Set the flag to True
104
 
105
  else:
106
- # Face recognized, but not matched with Aadhaar number
107
- st.error("Face recognized, but Aadhaar number does not match.")
108
 
109
  y1, x2, y2, x1 = faceLoc
110
  y1, x2, y2, x1 = y1 * 4, x2 * 4, y2 * 4, x1 * 4
 
103
  match_found = True # Set the flag to True
104
 
105
  else:
106
+ # Face detected, but not matched with Aadhaar number
107
+ st.error("Face or Aadhaar number does not match.")
108
 
109
  y1, x2, y2, x1 = faceLoc
110
  y1, x2, y2, x1 = y1 * 4, x2 * 4, y2 * 4, x1 * 4