Spaces:
Runtime error
Runtime error
Commit
·
ad7b3d7
1
Parent(s):
1842142
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def RFace(img):
|
|
| 6 |
faces = RetinaFace.extract_faces(img, align = True)
|
| 7 |
last = np.zeros((20,20), np.uint8)
|
| 8 |
for count, image in enumerate(faces):
|
| 9 |
-
if count ==
|
| 10 |
last = image
|
| 11 |
else:
|
| 12 |
h1, w1 = last.shape[:2]
|
|
|
|
| 6 |
faces = RetinaFace.extract_faces(img, align = True)
|
| 7 |
last = np.zeros((20,20), np.uint8)
|
| 8 |
for count, image in enumerate(faces):
|
| 9 |
+
if count == 0:
|
| 10 |
last = image
|
| 11 |
else:
|
| 12 |
h1, w1 = last.shape[:2]
|