diff --git a/alice/face/face.py b/alice/face/face.py index c6f43d8..e8a574e 100644 --- a/alice/face/face.py +++ b/alice/face/face.py @@ -48,7 +48,7 @@ def healthcheck(self) -> Response: def selfie( self, media: bytes, - extract_face_pad: bool = True, + extract_liveness: bool = True, extract_face_profile: bool = True, headers: Union[Dict[str, str], None] = None, ) -> Result[SelfieResult, FaceError]: @@ -60,7 +60,7 @@ def selfie( headers={"apikey": self.api_key} | headers, files={"media": media}, data={ - "extract_face_pad": extract_face_pad, + "extract_liveness": extract_liveness, "extract_face_profile": extract_face_profile, }, ) diff --git a/setup.py b/setup.py index 38ad332..ccfd3cb 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], zip_safe=False, install_requires=REQUIRES,