Spaces:
Running
Running
Upload 3 files
Browse files- app.py +6 -6
- models/xuan/xuan-e15.ckpt +3 -0
- models/xuan/xuan_e12_s408.pth +3 -0
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/
|
14 |
)
|
15 |
-
sovits_path = os.environ.get("sovits_path", "models/
|
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/
|
453 |
-
text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, '
|
454 |
|
455 |
with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
456 |
gr.Markdown(value="""
|
457 |
-
# <center>【AI
|
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
|
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/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 |
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
|
models/xuan/xuan-e15.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8988ba106e321599a97e0fa53f07137142c66a511edfd9484878836dbfc8452
|
3 |
+
size 155084623
|
models/xuan/xuan_e12_s408.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d43087de57fadad236766785c2c3bb483c1e982d7cfc855bb14d71cf8ed9f4c
|
3 |
+
size 84929166
|