Qi28 commited on
Commit
2ec3ca3
·
verified ·
1 Parent(s): c08fe17

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -0
server.py CHANGED
@@ -174,6 +174,7 @@ def stop_process(pid):
174
  print(f"进程 {proc.name()} 成功停止。")
175
 
176
  def install_dependencies():
 
177
  # os.system("echo 'y' | sh install.sh")
178
  subprocess.run(['pip', 'install', '-r','requirements.txt'])
179
  subprocess.run(['npm', 'install', '-g', 'localtunnel'])
 
174
  print(f"进程 {proc.name()} 成功停止。")
175
 
176
  def install_dependencies():
177
+ os.chdir('/home/aistudio/work/GPT-SoVITS/')
178
  # os.system("echo 'y' | sh install.sh")
179
  subprocess.run(['pip', 'install', '-r','requirements.txt'])
180
  subprocess.run(['npm', 'install', '-g', 'localtunnel'])