Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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 |
+
|
|