nikshep01 commited on
Commit
5c4310a
·
verified ·
1 Parent(s): 32f63db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,7 +91,8 @@ if file_name is not None:
91
 
92
  # Store attendance in SQLite database
93
  print(recognized_names)
94
- add_attendance(name)
 
95
  # Display the image with recognized faces
96
  st.image(image, use_column_width=True, output_format="PNG")
97
  st.write("Length : {recognizes_names}")
 
91
 
92
  # Store attendance in SQLite database
93
  print(recognized_names)
94
+ for i in recognized_names:
95
+ add_attendance(name)
96
  # Display the image with recognized faces
97
  st.image(image, use_column_width=True, output_format="PNG")
98
  st.write("Length : {recognizes_names}")