Skip to content

Commit 92e4701

Browse files
fix typo of an example (#799)
Update main.py
1 parent c2993f1 commit 92e4701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/face_recognition/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class FaceBase:
3838
arg_relationship=(cocoindex.op.ArgRelationship.RECTS_BASE_IMAGE, "content"),
3939
)
4040
def extract_faces(content: bytes) -> list[FaceBase]:
41-
"""Extract the first pages of a PDF."""
41+
"""Extract the faces from a image."""
4242
orig_img = Image.open(io.BytesIO(content)).convert("RGB")
4343

4444
# The model is too slow on large images, so we resize them if too large.

0 commit comments

Comments
 (0)