Update Gpt-Sovits.py
Browse files- 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 |
|