Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,16 +8,17 @@ os.system('git submodule update')
|
|
8 |
os.chdir('fairseq')
|
9 |
os.system('pip install ./')
|
10 |
os.system('pip install sentencepiece python_speech_features scikit-video transformers')
|
11 |
-
sys.path.append('../avhubert/')
|
12 |
os.chdir('../')
|
|
|
13 |
print(os.listdir())
|
|
|
14 |
import gradio as gr
|
15 |
import dlib, cv2, os
|
16 |
import numpy as np
|
17 |
import skvideo
|
18 |
import skvideo.io
|
19 |
from tqdm import tqdm
|
20 |
-
from preparation.align_mouth import landmarks_interpolate, crop_patch, write_video_ffmpeg
|
21 |
from base64 import b64encode
|
22 |
import cv2
|
23 |
import tempfile
|
|
|
8 |
os.chdir('fairseq')
|
9 |
os.system('pip install ./')
|
10 |
os.system('pip install sentencepiece python_speech_features scikit-video transformers')
|
|
|
11 |
os.chdir('../')
|
12 |
+
|
13 |
print(os.listdir())
|
14 |
+
|
15 |
import gradio as gr
|
16 |
import dlib, cv2, os
|
17 |
import numpy as np
|
18 |
import skvideo
|
19 |
import skvideo.io
|
20 |
from tqdm import tqdm
|
21 |
+
from avhubert.preparation.align_mouth import landmarks_interpolate, crop_patch, write_video_ffmpeg
|
22 |
from base64 import b64encode
|
23 |
import cv2
|
24 |
import tempfile
|