nikshep01 commited on
Commit
708ea03
·
verified ·
1 Parent(s): 28145d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ for cls in myList:
27
  encodeListknown = [face_recognition.face_encodings(img)[0] for img in Images]
28
 
29
  # camera to take photo of user in question
30
- file_name = st.file_uploader("Upload image")
31
 
32
  def add_attendance(name):
33
  username = name
 
27
  encodeListknown = [face_recognition.face_encodings(img)[0] for img in Images]
28
 
29
  # camera to take photo of user in question
30
+ file_name = st.camera_input("Capture image")
31
 
32
  def add_attendance(name):
33
  username = name