Qi28 commited on
Commit
0ac2a58
·
verified ·
1 Parent(s): a7e9707

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -10,7 +10,7 @@ from IPython.display import clear_output
10
  from requests.adapters import HTTPAdapter
11
  from requests.packages.urllib3.util.retry import Retry
12
 
13
- threading.Thread(target=run_TTS, daemon=True).start()
14
 
15
  huggiingface_repo_id = 'Qi28/SD_QZ' # Hugging Face 数据集 ID
16
  huggiingface_path = 'frp'
@@ -121,7 +121,7 @@ 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
-
125
 
126
  def run_nezha():
127
  os.system('rm -r /tmp/code/nezha-agent')
 
10
  from requests.adapters import HTTPAdapter
11
  from requests.packages.urllib3.util.retry import Retry
12
 
13
+
14
 
15
  huggiingface_repo_id = 'Qi28/SD_QZ' # Hugging Face 数据集 ID
16
  huggiingface_path = 'frp'
 
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():
127
  os.system('rm -r /tmp/code/nezha-agent')