Spaces:
Runtime error
Runtime error
Update util.py
Browse files
util.py
CHANGED
|
@@ -12,6 +12,9 @@ import scipy
|
|
| 12 |
import scipy.ndimage
|
| 13 |
import torchvision.transforms as transforms
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
shape_predictor_path = hf_hub_download(repo_id="akhaliq/jojogan_dlib", filename="shape_predictor_68_face_landmarks.dat")
|
| 16 |
|
| 17 |
|
|
|
|
| 12 |
import scipy.ndimage
|
| 13 |
import torchvision.transforms as transforms
|
| 14 |
|
| 15 |
+
from huggingface_hub import hf_hub_download
|
| 16 |
+
|
| 17 |
+
|
| 18 |
shape_predictor_path = hf_hub_download(repo_id="akhaliq/jojogan_dlib", filename="shape_predictor_68_face_landmarks.dat")
|
| 19 |
|
| 20 |
|