Spaces:
Running
Running
Upload 3 files
Browse files- app.py +6 -6
- models/badXT/badXT-e20.ckpt +3 -0
- models/badXT/badXT_e51_s816.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/badXT/badXT-e20.ckpt"
|
14 |
)
|
15 |
+
sovits_path = os.environ.get("sovits_path", "models/badXT/badXT_e51_s816.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/badXT'
|
453 |
+
text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, 'badXT.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>声音归属:星瞳_Official https://space.bilibili.com/401315430\n
|
463 |
### <center>GPT-SoVITS项目:https://github.com/RVC-Boss/GPT-SoVITS\n
|
464 |
### <center>使用本模型请严格遵守法律法规!发布二创作品请标注本项目作者及链接、作品使用GPT-SoVITS AI生成!\n
|
465 |
### <center>⚠️在线端不稳定且生成速度较慢,强烈建议下载模型本地推理!\n
|
models/badXT/badXT-e20.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9452367332fe93aa5eb252a354446b405848933fae5396fe7b2600c65329a257
|
3 |
+
size 155084922
|
models/badXT/badXT_e51_s816.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b9c2b57486adece11c4948c0ad4ea7f2dfcf949f19f9c5d9e671304b6af3223
|
3 |
+
size 84929843
|