vumichien commited on
Commit
b29e506
1 Parent(s): 0498130

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -1,3 +1,18 @@
1
  import os
2
  os.system('git clone https://github.com/facebookresearch/av_hubert.git')
3
- print(os.listdir())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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)