Spaces:
Runtime error
Runtime error
Shrirang20
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,8 @@ if not os.path.exists(setup_flag):
|
|
42 |
install_with_subprocess([sys.executable,'-m','pip','install','-q','--editable','./'])
|
43 |
os.chdir('..')
|
44 |
|
45 |
-
subprocess.run(['apt-get', '
|
|
|
46 |
|
47 |
os.system('git clone https://github.com/gokulkarthik/TTS')
|
48 |
os.chdir('TTS')
|
|
|
42 |
install_with_subprocess([sys.executable,'-m','pip','install','-q','--editable','./'])
|
43 |
os.chdir('..')
|
44 |
|
45 |
+
subprocess.run(['apt-get', 'update'], check=True)
|
46 |
+
subprocess.run(['apt-get', 'install', '-y', 'libsndfile1-dev', 'ffmpeg'], check=True)
|
47 |
|
48 |
os.system('git clone https://github.com/gokulkarthik/TTS')
|
49 |
os.chdir('TTS')
|