Qi28 commited on
Commit
baa4671
·
verified ·
1 Parent(s): d59f457

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -1
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
- subprocess.run(["python", "/tmp/code/Gpt-Sovits.py"], check=True)
 
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():