XzJosh commited on
Commit
8fc8a5f
1 Parent(s): 85998f7

Upload 3 files

Browse files
app.py CHANGED
@@ -10,9 +10,9 @@ logging.getLogger("torchaudio._extension").setLevel(logging.ERROR)
10
  import pdb
11
 
12
  gpt_path = os.environ.get(
13
- "gpt_path", "models/xuan/xuan-e15.ckpt"
14
  )
15
- sovits_path = os.environ.get("sovits_path", "models/xuan/xuan_e12_s408.pth")
16
  cnhubert_base_path = os.environ.get(
17
  "cnhubert_base_path", "pretrained_models/chinese-hubert-base"
18
  )
@@ -449,17 +449,17 @@ def load_audio_text_mappings(folder_path, list_file_name):
449
  audio_to_text_mappings[audio_file_path] = text
450
  return text_to_audio_mappings, audio_to_text_mappings
451
 
452
- audio_folder_path = 'audio/xuan'
453
- text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, 'xuan.list')
454
 
455
  with gr.Blocks(title="GPT-SoVITS WebUI") as app:
456
  gr.Markdown(value="""
457
- # <center>【AI炫神】在线语音生成(GPT-SoVITS)\n
458
 
459
  ### <center>模型作者:Xz乔希 https://space.bilibili.com/5859321\n
460
  ### <center>【GPT-SoVITS】在线合集:https://www.modelscope.cn/studios/xzjosh/GPT-SoVITS\n
461
  ### <center>数据集下载:https://huggingface.co/datasets/XzJosh/audiodataset\n
462
- ### <center>声音归属:炫神_ https://space.bilibili.com/299013902\n
463
  ### <center>GPT-SoVITS项目:https://github.com/RVC-Boss/GPT-SoVITS\n
464
  ### <center>使用本模型请严格遵守法律法规!发布二创作品请标注本项目作者及链接、作品使用GPT-SoVITS AI生成!\n
465
  ### <center>⚠️在线端不稳定且生成速度较慢,强烈建议下载模型本地推理!\n
 
10
  import pdb
11
 
12
  gpt_path = os.environ.get(
13
+ "gpt_path", "models/Ruo/Ruo-e25.ckpt"
14
  )
15
+ sovits_path = os.environ.get("sovits_path", "models/Ruo/Ruo_e39_s1014.pth")
16
  cnhubert_base_path = os.environ.get(
17
  "cnhubert_base_path", "pretrained_models/chinese-hubert-base"
18
  )
 
449
  audio_to_text_mappings[audio_file_path] = text
450
  return text_to_audio_mappings, audio_to_text_mappings
451
 
452
+ audio_folder_path = 'audio/Ruo'
453
+ text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, 'Ruo.list')
454
 
455
  with gr.Blocks(title="GPT-SoVITS WebUI") as app:
456
  gr.Markdown(value="""
457
+ # <center>【AI山泥若】在线语音生成(GPT-SoVITS)\n
458
 
459
  ### <center>模型作者:Xz乔希 https://space.bilibili.com/5859321\n
460
  ### <center>【GPT-SoVITS】在线合集:https://www.modelscope.cn/studios/xzjosh/GPT-SoVITS\n
461
  ### <center>数据集下载:https://huggingface.co/datasets/XzJosh/audiodataset\n
462
+ ### <center>声音归属:山泥若\n
463
  ### <center>GPT-SoVITS项目:https://github.com/RVC-Boss/GPT-SoVITS\n
464
  ### <center>使用本模型请严格遵守法律法规!发布二创作品请标注本项目作者及链接、作品使用GPT-SoVITS AI生成!\n
465
  ### <center>⚠️在线端不稳定且生成速度较慢,强烈建议下载模型本地推理!\n
models/Ruo/Ruo-e25.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95bea72b490658d7c9652c471ac594a5d35f0f92b3bbea9cd3489d75ab3e1e4d
3
+ size 155083748
models/Ruo/Ruo_e39_s1014.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab3011392b3bc94291baf1d10acfaed47ec35d8f083c5757f1d73ea4c2c08cc6
3
+ size 84929102