jone commited on
Commit
21a2138
·
1 Parent(s): 1181762
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,7 @@ os.system('pip install -U torchtext==0.8.0')
8
  os.system('pip install pydub') # 添加对pydub库的依赖
9
  #os.system('python setup.py install --install-dir .')
10
  from scipy.io import wavfile
 
11
 
12
  os.system('chmod a+x ./separate_scripts/*.sh')
13
  os.system('chmod a+x ./scripts/*.sh')
 
8
  os.system('pip install pydub') # 添加对pydub库的依赖
9
  #os.system('python setup.py install --install-dir .')
10
  from scipy.io import wavfile
11
+ from pydub import AudioSegment
12
 
13
  os.system('chmod a+x ./separate_scripts/*.sh')
14
  os.system('chmod a+x ./scripts/*.sh')