nikshep01 commited on
Commit
61c7e0a
1 Parent(s): 110f1c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,8 +99,8 @@ if file_name is not None:
99
  st.write("Recognized Names:")
100
  for i, name in enumerate(recognized_names):
101
  st.write(f"Face {i+1}: {name}")
 
102
 
103
  else:
104
  st.warning("No faces detected in the image. Face recognition failed.")
105
- for i in recognized_names:
106
- add_attendance(name)
 
99
  st.write("Recognized Names:")
100
  for i, name in enumerate(recognized_names):
101
  st.write(f"Face {i+1}: {name}")
102
+ add_attendance(name)
103
 
104
  else:
105
  st.warning("No faces detected in the image. Face recognition failed.")
106
+