Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
|
|
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}")
|