Spaces:
Runtime error
Runtime error
Upload 3 files
Browse files- app.py +4 -4
- models/Taffy/Taffy-e5.ckpt +3 -0
- models/Taffy/Taffy_e20_s1020.pth +3 -0
app.py
CHANGED
@@ -2,9 +2,9 @@ import os,re
|
|
2 |
import gradio as gr
|
3 |
|
4 |
gpt_path = os.environ.get(
|
5 |
-
"gpt_path", "models/
|
6 |
)
|
7 |
-
sovits_path = os.environ.get("sovits_path", "models/
|
8 |
cnhubert_base_path = os.environ.get(
|
9 |
"cnhubert_base_path", "pretrained_models/chinese-hubert-base"
|
10 |
)
|
@@ -364,8 +364,8 @@ def load_audio_text_mappings(folder_path, list_file_name):
|
|
364 |
audio_to_text_mappings[audio_file_path] = text
|
365 |
return text_to_audio_mappings, audio_to_text_mappings
|
366 |
|
367 |
-
audio_folder_path = 'audio/
|
368 |
-
text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, '
|
369 |
|
370 |
with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
371 |
gr.Markdown(value="""
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
gpt_path = os.environ.get(
|
5 |
+
"gpt_path", "models/Taffy/Taffy-e5.ckpt"
|
6 |
)
|
7 |
+
sovits_path = os.environ.get("sovits_path", "models/Taffy/Taffy_e20_s1020.pth")
|
8 |
cnhubert_base_path = os.environ.get(
|
9 |
"cnhubert_base_path", "pretrained_models/chinese-hubert-base"
|
10 |
)
|
|
|
364 |
audio_to_text_mappings[audio_file_path] = text
|
365 |
return text_to_audio_mappings, audio_to_text_mappings
|
366 |
|
367 |
+
audio_folder_path = 'audio/Taffy'
|
368 |
+
text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, 'Taffy.list')
|
369 |
|
370 |
with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
371 |
gr.Markdown(value="""
|
models/Taffy/Taffy-e5.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:267a4d3d25568262f964d7c28070b0a1a63aabc59fb03c9cb36284f3e1fef4a8
|
3 |
+
size 155084623
|
models/Taffy/Taffy_e20_s1020.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6e0146669e5571812b19daa3b31114bf00aac9ef4f6f848c7e7f8b037f9374a
|
3 |
+
size 84930520
|