Qi28 commited on
Commit
40b9148
·
verified ·
1 Parent(s): 240698c

Update Gpt-Sovits.py

Browse files
Files changed (1) hide show
  1. 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(9881):
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)