pushpinder06 commited on
Commit
73a1eb4
·
verified ·
1 Parent(s): 6c7f47c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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