Spaces:
Runtime error
Runtime error
Commit
·
2d1cbb6
1
Parent(s):
31d68e1
removes bug
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +1 -0
__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
|
app.py
CHANGED
|
@@ -14,6 +14,7 @@ def run_verification(verification_image, input_image):
|
|
| 14 |
temp = face_recognition.face_encodings(input_image)
|
| 15 |
if len(temp) == 1:
|
| 16 |
input_encoding = face_recognition.face_encodings(input_image)[0]
|
|
|
|
| 17 |
elif len(temp)>1:
|
| 18 |
input_encoding = face_recognition.face_encodings(input_image)[0]
|
| 19 |
multiple_people=True
|
|
|
|
| 14 |
temp = face_recognition.face_encodings(input_image)
|
| 15 |
if len(temp) == 1:
|
| 16 |
input_encoding = face_recognition.face_encodings(input_image)[0]
|
| 17 |
+
multiple_people=False
|
| 18 |
elif len(temp)>1:
|
| 19 |
input_encoding = face_recognition.face_encodings(input_image)[0]
|
| 20 |
multiple_people=True
|