Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,6 @@ def predict_actor(img):
|
|
| 59 |
|
| 60 |
if len(results) == 0:
|
| 61 |
return None, None, "😕 No face detected. Please try another image with a clear front-facing face."
|
| 62 |
-
"
|
| 63 |
|
| 64 |
x, y, width, height = results[0]['box']
|
| 65 |
face = img[y:y + height, x:x + width]
|
|
|
|
| 59 |
|
| 60 |
if len(results) == 0:
|
| 61 |
return None, None, "😕 No face detected. Please try another image with a clear front-facing face."
|
|
|
|
| 62 |
|
| 63 |
x, y, width, height = results[0]['box']
|
| 64 |
face = img[y:y + height, x:x + width]
|