npc0 commited on
Commit
2955d91
·
1 Parent(s): c875d02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ for f in os.listdir("data"):
40
  continue
41
 
42
  # Get the face encodings for the known images
43
- known_image = face_recognition.load_image_file(os.path.join(path,f))
44
  face_encoding = face_recognition.face_encodings(known_image)[0]
45
  known_encodings.append(face_encoding)
46
  # known_persons.append(os.path.splitext(os.path.basename(f))[0])
 
40
  continue
41
 
42
  # Get the face encodings for the known images
43
+ known_image = face_recognition.load_image_file(os.path.join("data",f))
44
  face_encoding = face_recognition.face_encodings(known_image)[0]
45
  known_encodings.append(face_encoding)
46
  # known_persons.append(os.path.splitext(os.path.basename(f))[0])