updated optional requirements for Buffalo_L

This commit is contained in:
raghucharan16 2025-02-28 16:08:15 +05:30
parent 1a5d74b893
commit 2a1babbe14
2 changed files with 6 additions and 3 deletions

View File

@ -23,8 +23,9 @@ class Buffalo_L(FacialRecognition):
from insightface.model_zoo import get_model from insightface.model_zoo import get_model
except ModuleNotFoundError as err: except ModuleNotFoundError as err:
raise ModuleNotFoundError( raise ModuleNotFoundError(
"InsightFace is an optional dependency for the Buffalo_L model." "InsightFace and its dependencies are optional for the Buffalo_L model. "
"You can install it with: pip install insightface>=0.7.3" "Please install them with: "
"pip install insightface>=0.7.3 onnxruntime>=1.9.0 typing-extensions pydantic"
) from err ) from err
# Define the model filename and subdirectory # Define the model filename and subdirectory

View File

@ -7,3 +7,5 @@ torch>=2.1.2
insightface>=0.7.3 insightface>=0.7.3
onnxruntime>=1.9.0 onnxruntime>=1.9.0
tf-keras tf-keras
typing-extensions
pydantic