Update Gpt-Sovits.py
Browse files- Gpt-Sovits.py +1 -0
Gpt-Sovits.py
CHANGED
|
@@ -111,6 +111,7 @@ def stop_process(pid):
|
|
| 111 |
def install_dependencies():
|
| 112 |
try:
|
| 113 |
os.chdir(folder_path)
|
|
|
|
| 114 |
# subprocess.run(['apt', 'install', 'nodejs','npm','-y'], check=True)
|
| 115 |
subprocess.run(['pip', 'install', '-r','requirements.txt'], check=True)
|
| 116 |
subprocess.run(['npm', 'install', '-g', 'localtunnel'], check=True)
|
|
|
|
| 111 |
def install_dependencies():
|
| 112 |
try:
|
| 113 |
os.chdir(folder_path)
|
| 114 |
+
os.system('apt install ffmpeg -y')
|
| 115 |
# subprocess.run(['apt', 'install', 'nodejs','npm','-y'], check=True)
|
| 116 |
subprocess.run(['pip', 'install', '-r','requirements.txt'], check=True)
|
| 117 |
subprocess.run(['npm', 'install', '-g', 'localtunnel'], check=True)
|