Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,9 @@ with about_tab:
|
|
69 |
""")
|
70 |
|
71 |
with app_tab:
|
|
|
|
|
|
|
72 |
enable = st.checkbox("Enable camera")
|
73 |
picture = st.camera_input("Take a picture", disabled=not enable)
|
74 |
|
|
|
69 |
""")
|
70 |
|
71 |
with app_tab:
|
72 |
+
trained_names = [os.path.basename(p).split('.')[0] for p in image_paths]
|
73 |
+
st.subheader("📋 Trained Faces in System")
|
74 |
+
st.write(", ".join(trained_names) if trained_names else "No faces found.")
|
75 |
enable = st.checkbox("Enable camera")
|
76 |
picture = st.camera_input("Take a picture", disabled=not enable)
|
77 |
|