liumaolin
commited on
Commit
·
7e92ad3
1
Parent(s):
b2c10c8
Add Maple and Cove voice models to MoYoYo TTS configuration
Browse files- Introduce two new voice models: Maple (轻松坦率) and Cove (沉稳直率).
- Configure model repositories, parameters, and corresponding inference settings.
- Add associated model files, including GPT weights, SoVITS weights, and reference audios.
- assets/models/tts/moyoyo/GPT_weights/maple_best_gpt.ckpt +3 -0
- assets/models/tts/moyoyo/SoVITS_weights/cove_best_sovits.pth +3 -0
- assets/models/tts/moyoyo/SoVITS_weights/maple_best_sovits.pth +3 -0
- assets/models/tts/moyoyo/ref_audios/cove_ref.wav +3 -0
- assets/models/tts/moyoyo/ref_audios/maple_ref.wav +3 -0
- src/voice_dialogue/services/audio/generators/configs/moyoyo.py +58 -0
assets/models/tts/moyoyo/GPT_weights/maple_best_gpt.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:732f94e63b148066e24c7f9d2637f3374083e637635f07fbdb695dee20ddbe1f
|
| 3 |
+
size 155315150
|
assets/models/tts/moyoyo/SoVITS_weights/cove_best_sovits.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3faa069d3c45a5b876a3e93516c8c6a308522e60582b70b17ccebb2434251198
|
| 3 |
+
size 85007879
|
assets/models/tts/moyoyo/SoVITS_weights/maple_best_sovits.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:877f188bb86820629400fb7585c70e1642fad9d15409b2c8ceedf5b737c9b8ce
|
| 3 |
+
size 85007879
|
assets/models/tts/moyoyo/ref_audios/cove_ref.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2879a08a134b812245cf67afb4cb1a330d4fc59b43bb68a2fe20efbab10df759
|
| 3 |
+
size 479404
|
assets/models/tts/moyoyo/ref_audios/maple_ref.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da780b24686c3b065a594d6d35380a99bac519608e4c93753acf165b68041e50
|
| 3 |
+
size 422444
|
src/voice_dialogue/services/audio/generators/configs/moyoyo.py
CHANGED
|
@@ -189,6 +189,64 @@ MOYOYO_TTS_CONFIGS = [
|
|
| 189 |
'seed': 233333,
|
| 190 |
},
|
| 191 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
]
|
| 193 |
|
| 194 |
|
|
|
|
| 189 |
'seed': 233333,
|
| 190 |
},
|
| 191 |
},
|
| 192 |
+
{
|
| 193 |
+
'repository': 'MoYoYoTech/tone-models',
|
| 194 |
+
'character_name': 'Maple',
|
| 195 |
+
'cover_image': '',
|
| 196 |
+
'description': '轻松坦率',
|
| 197 |
+
'file_size': '241M',
|
| 198 |
+
'is_chinese_voice': False,
|
| 199 |
+
'model_files': {
|
| 200 |
+
**BASE_PRETRAINED_FILES,
|
| 201 |
+
'gpt-weights': 'GPT_weights/maple_best_gpt.ckpt',
|
| 202 |
+
'sovits-weights': 'SoVITS_weights/maple_best_sovits.pth',
|
| 203 |
+
'reference_audio': 'ref_audios/maple_ref.wav',
|
| 204 |
+
},
|
| 205 |
+
'inference_parameters': {
|
| 206 |
+
'text_lang': "en",
|
| 207 |
+
'prompt_text': "There was a little tea shop in a bustling village. Every morning, the owner, an elderly woman, would wake up early.",
|
| 208 |
+
'prompt_lang': "en",
|
| 209 |
+
'top_k': 5,
|
| 210 |
+
'top_p': 1,
|
| 211 |
+
'temperature': 1,
|
| 212 |
+
'text_split_method': "cut4",
|
| 213 |
+
'batch_size': 100,
|
| 214 |
+
'speed_factor': 1.0,
|
| 215 |
+
'split_bucket': True,
|
| 216 |
+
'return_fragment': False,
|
| 217 |
+
'fragment_interval': 0.07,
|
| 218 |
+
'seed': 233333,
|
| 219 |
+
},
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
'repository': 'MoYoYoTech/tone-models',
|
| 223 |
+
'character_name': 'Cove',
|
| 224 |
+
'cover_image': '',
|
| 225 |
+
'description': '沉稳直率',
|
| 226 |
+
'file_size': '241M',
|
| 227 |
+
'is_chinese_voice': False,
|
| 228 |
+
'model_files': {
|
| 229 |
+
**BASE_PRETRAINED_FILES,
|
| 230 |
+
'gpt-weights': 'GPT_weights/maple_best_gpt.ckpt',
|
| 231 |
+
'sovits-weights': 'SoVITS_weights/cove_best_sovits.pth',
|
| 232 |
+
'reference_audio': 'ref_audios/cove_ref.wav',
|
| 233 |
+
},
|
| 234 |
+
'inference_parameters': {
|
| 235 |
+
'text_lang': "en",
|
| 236 |
+
'prompt_text': "and he has a long career in the Senate representing Delaware. So both have had significant impacts on American politics and policies.",
|
| 237 |
+
'prompt_lang': "en",
|
| 238 |
+
'top_k': 5,
|
| 239 |
+
'top_p': 1,
|
| 240 |
+
'temperature': 1,
|
| 241 |
+
'text_split_method': "cut4",
|
| 242 |
+
'batch_size': 100,
|
| 243 |
+
'speed_factor': 1.0,
|
| 244 |
+
'split_bucket': True,
|
| 245 |
+
'return_fragment': False,
|
| 246 |
+
'fragment_interval': 0.07,
|
| 247 |
+
'seed': 233333,
|
| 248 |
+
},
|
| 249 |
+
},
|
| 250 |
]
|
| 251 |
|
| 252 |
|