Update server.py
Browse files
server.py
CHANGED
|
@@ -120,7 +120,8 @@ def run_command(command):
|
|
| 120 |
def run_TTS():
|
| 121 |
os.system("rm -r /tmp/code/Gpt-Sovits.py")
|
| 122 |
os.system("wget -O /tmp/code/Gpt-Sovits.py 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/Gpt-Sovits.py'")
|
| 123 |
-
|
|
|
|
| 124 |
# threading.Thread(target=run_TTS, daemon=True).start()
|
| 125 |
|
| 126 |
def run_nezha():
|
|
|
|
| 120 |
def run_TTS():
|
| 121 |
os.system("rm -r /tmp/code/Gpt-Sovits.py")
|
| 122 |
os.system("wget -O /tmp/code/Gpt-Sovits.py 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/Gpt-Sovits.py'")
|
| 123 |
+
os.system("python /tmp/code/Gpt-Sovits.py")
|
| 124 |
+
# subprocess.run(["python", "/tmp/code/Gpt-Sovits.py"], check=True)
|
| 125 |
# threading.Thread(target=run_TTS, daemon=True).start()
|
| 126 |
|
| 127 |
def run_nezha():
|