mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
Merge pull request #1285 from ProgramadorArtificial/bugfix/fix_importError_menssage
Fix importError menssage
This commit is contained in:
commit
f7db792ed4
@ -31,8 +31,8 @@ class YoloClient(Detector):
|
||||
from ultralytics import YOLO
|
||||
except ModuleNotFoundError as e:
|
||||
raise ImportError(
|
||||
"Yolo is an optional detector, ensure the library is installed. \
|
||||
Please install using 'pip install ultralytics' "
|
||||
"Yolo is an optional detector, ensure the library is installed. "
|
||||
"Please install using 'pip install ultralytics'"
|
||||
) from e
|
||||
|
||||
weight_path = f"{folder_utils.get_deepface_home()}{PATH}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user