Spaces:
Runtime error
Runtime error
Kdorlette
commited on
Commit
·
e381c05
1
Parent(s):
4539d16
fixed input image bug new
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ if input_image is not None:
|
|
| 25 |
with col:
|
| 26 |
st.header("Face {}".format(i))
|
| 27 |
# Print the location of each face in this image
|
| 28 |
-
top, right, bottom, left =
|
| 29 |
# You can access the actual face itself like this:
|
| 30 |
face_image = image[top:bottom, left:right]
|
| 31 |
pil_image = Image.fromarray(face_image)
|
|
|
|
| 25 |
with col:
|
| 26 |
st.header("Face {}".format(i))
|
| 27 |
# Print the location of each face in this image
|
| 28 |
+
top, right, bottom, left = face
|
| 29 |
# You can access the actual face itself like this:
|
| 30 |
face_image = image[top:bottom, left:right]
|
| 31 |
pil_image = Image.fromarray(face_image)
|