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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def greet(image_to_test):
59
  idx = face_distances.argmin()
60
  filepath = known_persons[idx]
61
  face_distance = face_distances[idx]
62
- ret = "The most similar person is of {} with score {:.3}".format(os.path.splitext(filenamme)[0],
63
  100 * (1 - face_distance))
64
  img = face_recognition.load_image_file(filepath)
65
  return img, ret
 
59
  idx = face_distances.argmin()
60
  filepath = known_persons[idx]
61
  face_distance = face_distances[idx]
62
+ ret = "The most similar person is of {} with score {:.3}".format(os.path.splitext(filepath)[0],
63
  100 * (1 - face_distance))
64
  img = face_recognition.load_image_file(filepath)
65
  return img, ret