Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,9 +17,9 @@ os.system('pip install numpy==1.23.3')
|
|
| 17 |
os.chdir('/home/user/app/av_hubert/avhubert')
|
| 18 |
|
| 19 |
sys.path.append('/home/user/app/av_hubert')
|
| 20 |
-
sys.path.append('/home/user/app/av_hubert/avhubert')
|
| 21 |
|
| 22 |
print(sys.path)
|
|
|
|
| 23 |
|
| 24 |
import dlib, cv2, os
|
| 25 |
import numpy as np
|
|
@@ -39,7 +39,7 @@ from huggingface_hub import hf_hub_download
|
|
| 39 |
import gradio as gr
|
| 40 |
|
| 41 |
ckpt_path = hf_hub_download('vumichien/AV-HuBERT', 'model.pt')
|
| 42 |
-
user_dir = "avhubert"
|
| 43 |
face_detector_path = "/home/user/app/mmod_human_face_detector.dat"
|
| 44 |
face_predictor_path = "/home/user/app/shape_predictor_68_face_landmarks.dat"
|
| 45 |
mean_face_path = "/home/user/app/20words_mean_face.npy"
|
|
|
|
| 17 |
os.chdir('/home/user/app/av_hubert/avhubert')
|
| 18 |
|
| 19 |
sys.path.append('/home/user/app/av_hubert')
|
|
|
|
| 20 |
|
| 21 |
print(sys.path)
|
| 22 |
+
print(os.listdir())
|
| 23 |
|
| 24 |
import dlib, cv2, os
|
| 25 |
import numpy as np
|
|
|
|
| 39 |
import gradio as gr
|
| 40 |
|
| 41 |
ckpt_path = hf_hub_download('vumichien/AV-HuBERT', 'model.pt')
|
| 42 |
+
user_dir = "/home/user/app/av_hubert/avhubert"
|
| 43 |
face_detector_path = "/home/user/app/mmod_human_face_detector.dat"
|
| 44 |
face_predictor_path = "/home/user/app/shape_predictor_68_face_landmarks.dat"
|
| 45 |
mean_face_path = "/home/user/app/20words_mean_face.npy"
|