Qi28 commited on
Commit
319d824
·
verified ·
1 Parent(s): 722db52

Update Gpt-Sovits.py

Browse files
Files changed (1) hide show
  1. Gpt-Sovits.py +2 -1
Gpt-Sovits.py CHANGED
@@ -121,5 +121,6 @@ os.chdir(folder_path)
121
  run_api_script() # 检测环境
122
  os.chdir(folder_path)
123
  threading.Thread(target=NPS, daemon=True).start()
124
- os.system("python api_v2.py")
 
125
 
 
121
  run_api_script() # 检测环境
122
  os.chdir(folder_path)
123
  threading.Thread(target=NPS, daemon=True).start()
124
+ # os.system("python api_v2.py")
125
+ subprocess.run(["python", "api_v2.py"], check=True)
126