Update server.py
Browse files
server.py
CHANGED
|
@@ -66,8 +66,7 @@ def execute_commands(port_and_commands_json):
|
|
| 66 |
except Exception as e:
|
| 67 |
print(f"An error occurred: {e}")
|
| 68 |
|
| 69 |
-
|
| 70 |
-
subprocess.run('python /home/aistudio/activate_port.py 7862', shell=True)
|
| 71 |
|
| 72 |
# def run():
|
| 73 |
# os.system('python /home/aistudio/work/GPT-SoVITS/api.py -s "/home/aistudio/work/tts1/Nino-1_e8_s192.pth" -g "/home/aistudio/work/tts1/Nino-1-e20.ckpt" -dr "/home/aistudio/work/tts1/Nino.wav" -dt "んですか?ウフフー困った兄さんですね。" -dl "jp" -p "7861"')
|
|
@@ -91,5 +90,8 @@ os.chdir('/home/aistudio/work/GPT-SoVITS')
|
|
| 91 |
|
| 92 |
execute_commands(port_and_commands_json)
|
| 93 |
subprocess.run('python /home/aistudio/activate_port.py 7860', shell=True)
|
|
|
|
|
|
|
|
|
|
| 94 |
os.system('python /home/aistudio/work/GPT-SoVITS/api.py -s "/home/aistudio/work/tts1/奶油_e8_s152.pth" -g "/home/aistudio/work/tts1/奶油-e15.ckpt" -dr "/home/aistudio/work/tts1/涨粉.wav" -dt "有个十万播放的切片涨了四千涨了四五千的粉" -dl "zh" -p "7860"')
|
| 95 |
|
|
|
|
| 66 |
except Exception as e:
|
| 67 |
print(f"An error occurred: {e}")
|
| 68 |
|
| 69 |
+
|
|
|
|
| 70 |
|
| 71 |
# def run():
|
| 72 |
# os.system('python /home/aistudio/work/GPT-SoVITS/api.py -s "/home/aistudio/work/tts1/Nino-1_e8_s192.pth" -g "/home/aistudio/work/tts1/Nino-1-e20.ckpt" -dr "/home/aistudio/work/tts1/Nino.wav" -dt "んですか?ウフフー困った兄さんですね。" -dl "jp" -p "7861"')
|
|
|
|
| 90 |
|
| 91 |
execute_commands(port_and_commands_json)
|
| 92 |
subprocess.run('python /home/aistudio/activate_port.py 7860', shell=True)
|
| 93 |
+
subprocess.run('python /home/aistudio/activate_port.py 7861', shell=True)
|
| 94 |
+
subprocess.run('python /home/aistudio/activate_port.py 7862', shell=True)
|
| 95 |
+
subprocess.run('python /home/aistudio/activate_port.py 7863', shell=True)
|
| 96 |
os.system('python /home/aistudio/work/GPT-SoVITS/api.py -s "/home/aistudio/work/tts1/奶油_e8_s152.pth" -g "/home/aistudio/work/tts1/奶油-e15.ckpt" -dr "/home/aistudio/work/tts1/涨粉.wav" -dt "有个十万播放的切片涨了四千涨了四五千的粉" -dl "zh" -p "7860"')
|
| 97 |
|