diff --git a/pyproject.toml b/pyproject.toml index 52bacc4..ff57030 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ dependencies = [ "deepface>=0.0.93,<0.1", "retina-face>=0.0.14,<0.1", "tensorflow>=2.13,<3; platform_machine != 'arm64' or sys_platform != 'darwin'", - "tensorflow-macos>=2.13,<2.16; platform_machine == 'arm64' and sys_platform == 'darwin'", + "tensorflow-macos>=2.13,<2.17; platform_machine == 'arm64' and sys_platform == 'darwin'", # RetinaFace + DeepFace still use the Keras 2 API surface. TensorFlow # 2.16+ ships Keras 3 as the default, so we install tf-keras as the # Keras 2 compatibility layer alongside it. @@ -67,7 +67,7 @@ test = [ "httpx>=0.27", ] docs = ["mkdocs-material>=9.5"] -gpu = ["tensorflow[and-cuda]>=2.13,<2.18"] +gpu = ["tensorflow[and-cuda]>=2.13,<2.22"] [project.scripts] deepface-api = "deepface_api.__main__:main"