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
except ModuleNotFoundError as err:
raise ModuleNotFoundError(
"InsightFace is an optional dependency for the Buffalo_L model."
"You can install it with: pip install insightface>=0.7.3"
"InsightFace and its dependencies are optional for the Buffalo_L model. "
"Please install them with: "
"pip install insightface>=0.7.3 onnxruntime>=1.9.0 typing-extensions pydantic"
) from err
# Define the model filename and subdirectory

View File

@ -6,4 +6,6 @@ facenet-pytorch>=2.5.3
torch>=2.1.2
insightface>=0.7.3
onnxruntime>=1.9.0
tf-keras
tf-keras
typing-extensions
pydantic