digitalxingtong commited on
Commit
dfbc0d4
1 Parent(s): a658963

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -22
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/xt_read/xt_read_1.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格式)。\n
@@ -226,26 +226,7 @@ if __name__ == "__main__":
226
  gr.Markdown(value="""
227
  模型汇总:\n
228
  星瞳整合 https://huggingface.co/spaces/digitalxingtong/Xingtong-All-in-One\n
229
- 甜甜叫花鸡 https://huggingface.co/spaces/digitalxingtong/Jiaohuaji-Bert-Vits2 \n
230
- 七海 https://huggingface.co/spaces/digitalxingtong/Nanami-Bert-Vits2 \n
231
- 东雪莲 https://huggingface.co/spaces/digitalxingtong/Azuma-Bert-Vits2 \n
232
- 嘉然 https://huggingface.co/spaces/digitalxingtong/Jiaran-Bert-Vits2 \n
233
- 乃琳 https://huggingface.co/spaces/digitalxingtong/Eileen-Bert-Vits2 \n
234
- 恬豆 https://huggingface.co/spaces/digitalxingtong/Dou-Bert-Vits2 \n
235
- 奶绿 杂谈 https://huggingface.co/spaces/digitalxingtong/Nailv-Bert-Vits2 \n
236
- 奶绿 朗读 https://huggingface.co/spaces/digitalxingtong/Nailv-read-Bert-Vits2 \n
237
- 露早 https://huggingface.co/spaces/digitalxingtong/Luzao-Bert-Vits2 \n
238
- 柚恩 https://huggingface.co/spaces/digitalxingtong/Un-Bert-Vits2 \n
239
- 米诺 https://huggingface.co/spaces/digitalxingtong/Minuo-Bert-Vits2 \n
240
- 扇宝 https://huggingface.co/spaces/digitalxingtong/Shanbao-Bert-Vits2 \n
241
- 牧牧白 https://huggingface.co/spaces/digitalxingtong/Miiu-Bert-Vits2 \n
242
- 吉诺儿kino https://huggingface.co/spaces/digitalxingtong/Kino-Bert-Vits2 \n
243
- 九夏 https://huggingface.co/spaces/digitalxingtong/Jiuxia-Bert-Vits2 \n
244
- 卡缇娅 https://huggingface.co/spaces/digitalxingtong/Yaya-Bert-Vits2 \n
245
- 理想_ideal https://huggingface.co/spaces/digitalxingtong/Lixiang-Bert-Vits2 \n
246
- 阿梓 https://huggingface.co/spaces/digitalxingtong/Azusa-Bert-Vits2 \n
247
- 鹿鸣 https://huggingface.co/spaces/digitalxingtong/Luming-Bert-Vits2 \n
248
- 永雏塔菲 https://huggingface.co/spaces/digitalxingtong/Taffy-Bert-VITS2 \n
249
  """)
250
  btn.click(longread,
251
  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/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
 
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格式)。\n
 
226
  gr.Markdown(value="""
227
  模型汇总:\n
228
  星瞳整合 https://huggingface.co/spaces/digitalxingtong/Xingtong-All-in-One\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],