Update Gpt-Sovits.py
Browse files- Gpt-Sovits.py +2 -2
Gpt-Sovits.py
CHANGED
|
@@ -114,7 +114,7 @@ def install_dependencies():
|
|
| 114 |
print(f"安装依赖时出错: {e}")
|
| 115 |
def NPS():
|
| 116 |
print("启动NPS")
|
| 117 |
-
os.system(f"/tmp/code/nps/npc -server={NPS_server} -vkey={NPS_key} -type=tcp")
|
| 118 |
subprocess.run(['npm', 'install', '-g','localtunnel'], check=True)
|
| 119 |
os.chdir(folder_path)
|
| 120 |
|
|
@@ -123,4 +123,4 @@ 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 |
-
|
|
|
|
| 114 |
print(f"安装依赖时出错: {e}")
|
| 115 |
def NPS():
|
| 116 |
print("启动NPS")
|
| 117 |
+
os.system(f"/tmp/code/nps-Copy1/npc -server={NPS_server} -vkey={NPS_key} -type=tcp")
|
| 118 |
subprocess.run(['npm', 'install', '-g','localtunnel'], check=True)
|
| 119 |
os.chdir(folder_path)
|
| 120 |
|
|
|
|
| 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 |
+
print('----------TTS 结束---------')
|