Spaces:
Runtime error
Runtime error
Commit
·
3e63f01
1
Parent(s):
bdd706c
face detect test
Browse files- vtoonify_model.py +1 -0
vtoonify_model.py
CHANGED
|
@@ -70,6 +70,7 @@ class Model():
|
|
| 70 |
return dlib.shape_predictor(huggingface_hub.hf_hub_download(MODEL_REPO,
|
| 71 |
'models/shape_predictor_68_face_landmarks.dat'))
|
| 72 |
|
|
|
|
| 73 |
def _create_dlib_landmark_cnn_model():
|
| 74 |
return dlib.shape_predictor(huggingface_hub.hf_hub_download(MODEL_REPO,
|
| 75 |
'models/mmod_human_face_detector.dat'))
|
|
|
|
| 70 |
return dlib.shape_predictor(huggingface_hub.hf_hub_download(MODEL_REPO,
|
| 71 |
'models/shape_predictor_68_face_landmarks.dat'))
|
| 72 |
|
| 73 |
+
@staticmethod
|
| 74 |
def _create_dlib_landmark_cnn_model():
|
| 75 |
return dlib.shape_predictor(huggingface_hub.hf_hub_download(MODEL_REPO,
|
| 76 |
'models/mmod_human_face_detector.dat'))
|