Update Gpt-Sovits.py
Browse files- Gpt-Sovits.py +1 -1
Gpt-Sovits.py
CHANGED
|
@@ -131,7 +131,7 @@ os.chdir(folder_path)
|
|
| 131 |
# threading.Thread(target=NPS, daemon=True).start()
|
| 132 |
# os.system("python api_v2.py")
|
| 133 |
while True:
|
| 134 |
-
if is_port_open(
|
| 135 |
print('Gpt-Sovits运行中...')
|
| 136 |
else:
|
| 137 |
subprocess.run(["python", "api_v2.py"], check=True)
|
|
|
|
| 131 |
# threading.Thread(target=NPS, daemon=True).start()
|
| 132 |
# os.system("python api_v2.py")
|
| 133 |
while True:
|
| 134 |
+
if is_port_open(9880):
|
| 135 |
print('Gpt-Sovits运行中...')
|
| 136 |
else:
|
| 137 |
subprocess.run(["python", "api_v2.py"], check=True)
|