Update server.py
Browse files
server.py
CHANGED
|
@@ -234,7 +234,7 @@ subprocess.run(['wget','-O','/home/aistudio/work/GPT-SoVITS/api.py', 'https://hf
|
|
| 234 |
os.chdir('/home/aistudio/work/GPT-SoVITS')
|
| 235 |
|
| 236 |
run_api_script() # 检测环境
|
| 237 |
-
|
| 238 |
subprocess.run(['python', '/home/aistudio/activate_port.py', str(7860)], env=env, capture_output=True, text=True)
|
| 239 |
|
| 240 |
|
|
|
|
| 234 |
os.chdir('/home/aistudio/work/GPT-SoVITS')
|
| 235 |
|
| 236 |
run_api_script() # 检测环境
|
| 237 |
+
execute_commands(port_and_commands_json)
|
| 238 |
subprocess.run(['python', '/home/aistudio/activate_port.py', str(7860)], env=env, capture_output=True, text=True)
|
| 239 |
|
| 240 |
|