digitalxingtong commited on
Commit
dcdafa6
1 Parent(s): 6029ea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -162,7 +162,7 @@ def longread(input_file,sdp_ratio, noise_scale, noise_scale_w, length_scale):
162
  return output_file
163
  if __name__ == "__main__":
164
  parser = argparse.ArgumentParser()
165
- parser.add_argument("--model_dir", default="./logs/kh/kh.pth", help="path of your model")
166
  parser.add_argument("--config_dir", default="./configs/config.json", help="path of your config file")
167
  parser.add_argument("--share", default=False, help="make link public")
168
  parser.add_argument("-d", "--debug", action="store_true", help="enable DEBUG-LEVEL log")
@@ -202,7 +202,7 @@ if __name__ == "__main__":
202
 
203
 
204
  gr.Markdown(value="""
205
- 男声朗读 长文本专用 Bert-Vits2在线语音生成\n
206
 
207
  0、必看!!!重要!!! 当显示“Warning There is a long queue of requests pending. Duplicate this Space to skip.”,或显示“queue”字样时,表示此时系统拥挤。请点击右上角 “Community” 旁的三个点,选择 “Duplicate this space” 然后确定,大约等待五分钟,就可将该空间克隆到自己的空间上。\n
208
  1、请确保上传的txt文件是UTF-8格式(请自行百度如何txt保存为UTF-8格式)。由于CPU版本生成缓慢,每次上传文本字数请确保少于3000字。\n
@@ -227,6 +227,8 @@ if __name__ == "__main__":
227
  星瞳整合 https://huggingface.co/spaces/digitalxingtong/Xingtong-All-in-One\n
228
  男声朗读 https://huggingface.co/spaces/digitalxingtong/Kanghui-Read-Bert-VITS2 \n
229
  男声朗读(长文本) https://huggingface.co/spaces/digitalxingtong/Kanghui-Longread-Bert-VITS2\n
 
 
230
  """)
231
  btn.click(longread,
232
  inputs=[input_file,sdp_ratio,noise_scale,noise_scale_w,length_scale],
 
162
  return output_file
163
  if __name__ == "__main__":
164
  parser = argparse.ArgumentParser()
165
+ parser.add_argument("--model_dir", default="./logs/ign/ign.pth", help="path of your model")
166
  parser.add_argument("--config_dir", default="./configs/config.json", help="path of your config file")
167
  parser.add_argument("--share", default=False, help="make link public")
168
  parser.add_argument("-d", "--debug", action="store_true", help="enable DEBUG-LEVEL log")
 
202
 
203
 
204
  gr.Markdown(value="""
205
+ IGN 中国 长文本专用 Bert-Vits2在线语音生成\n
206
 
207
  0、必看!!!重要!!! 当显示“Warning There is a long queue of requests pending. Duplicate this Space to skip.”,或显示“queue”字样时,表示此时系统拥挤。请点击右上角 “Community” 旁的三个点,选择 “Duplicate this space” 然后确定,大约等待五分钟,就可将该空间克隆到自己的空间上。\n
208
  1、请确保上传的txt文件是UTF-8格式(请自行百度如何txt保存为UTF-8格式)。由于CPU版本生成缓慢,每次上传文本字数请确保少于3000字。\n
 
227
  星瞳整合 https://huggingface.co/spaces/digitalxingtong/Xingtong-All-in-One\n
228
  男声朗读 https://huggingface.co/spaces/digitalxingtong/Kanghui-Read-Bert-VITS2 \n
229
  男声朗读(长文本) https://huggingface.co/spaces/digitalxingtong/Kanghui-Longread-Bert-VITS2\n
230
+ IGN 中国 https://huggingface.co/spaces/digitalxingtong/Ign-Read-Bert-VITS2 \n
231
+ IGN 中国(长文本)https://huggingface.co/spaces/digitalxingtong/Ign-Longread-Bert-VITS2 \n
232
  """)
233
  btn.click(longread,
234
  inputs=[input_file,sdp_ratio,noise_scale,noise_scale_w,length_scale],