SheldonYC commited on
Commit
1538ee3
1 Parent(s): 6560c3d

update asr model

Browse files
Files changed (2) hide show
  1. app.py +2 -5
  2. requirements.txt +1 -2
app.py CHANGED
@@ -1,8 +1,5 @@
1
- # import os
2
- # os.system("""
3
- # apt-get update && apt-get install -y libsndfile1 ffmpeg
4
- # pip install Cython
5
- # pip install nemo_toolkit['all']""")
6
 
7
  import nemo.collections.asr as nemo_asr
8
  from transformers import pipeline
 
1
+ import os
2
+ os.system("""pip install nemo_toolkit['all']""")
 
 
 
3
 
4
  import nemo.collections.asr as nemo_asr
5
  from transformers import pipeline
requirements.txt CHANGED
@@ -3,5 +3,4 @@ transformers
3
  numpy
4
  librosa
5
  scipy
6
- Cython
7
- "nemo_toolkit['all']"
 
3
  numpy
4
  librosa
5
  scipy
6
+ Cython