Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,18 @@
|
|
| 1 |
import os
|
| 2 |
os.system('git clone https://github.com/facebookresearch/av_hubert.git')
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
os.system('git clone https://github.com/facebookresearch/av_hubert.git')
|
| 3 |
+
os.chdir('av_hubert')
|
| 4 |
+
os.system('git submodule init')
|
| 5 |
+
os.system('git submodule update')
|
| 6 |
+
os.chdir('av_hubert/fairseq')
|
| 7 |
+
os.system('pip install ./')
|
| 8 |
+
os.system('pip install sentencepiece')
|
| 9 |
+
os.system('pip install python_speech_features')
|
| 10 |
+
os.system('pip install scikit-video')
|
| 11 |
+
os.system('pip install transformers')
|
| 12 |
+
os.system('pip install gradio==3.12')
|
| 13 |
+
os.chdir('av_hubert/avhubert')
|
| 14 |
+
|
| 15 |
+
sys.path.append('av_hubert')
|
| 16 |
+
sys.path.append('av_hubert/avhubert')
|
| 17 |
+
|
| 18 |
+
print(sys.path)
|