liumaolin
commited on
Commit
·
2a5dcf2
1
Parent(s):
e80f558
Remove unused `prompt_semantic` and `reference_spec` configuration parameters from voice model definitions.
Browse files
src/VoiceDialogue/models/voice_model.py
CHANGED
|
@@ -32,8 +32,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 32 |
'gpt-weights': 'GPT_weights/luoxiang_best_gpt.ckpt',
|
| 33 |
'sovits-weights': 'SoVITS_weights/luoxiang_best_sovits.pth',
|
| 34 |
'reference_audio': 'ref_audios/luoxiang_ref.wav',
|
| 35 |
-
'prompt_semantic': 'prompt_semantic/luoxiang_prompt_semantic.pt',
|
| 36 |
-
'reference_spec': 'refer_spec/luoxiang_spec.pt',
|
| 37 |
},
|
| 38 |
'inference_parameters': {
|
| 39 |
'text_lang': "zh",
|
|
@@ -63,8 +61,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 63 |
'gpt-weights': 'GPT_weights/mabaoguo_best_gpt.ckpt',
|
| 64 |
'sovits-weights': 'SoVITS_weights/mabaoguo_best_sovits.pth',
|
| 65 |
'reference_audio': 'ref_audios/mabaoguo_ref.wav',
|
| 66 |
-
'prompt_semantic': 'prompt_semantic/mabaoguo_prompt_semantic.pt',
|
| 67 |
-
'reference_spec': 'refer_spec/mabaoguo_spec.pt',
|
| 68 |
},
|
| 69 |
'inference_parameters': {
|
| 70 |
'text_lang': "zh",
|
|
@@ -95,8 +91,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 95 |
'gpt-weights': 'GPT_weights/shenyi_best_gpt.ckpt',
|
| 96 |
'sovits-weights': 'SoVITS_weights/shenyi_best_sovits.pth',
|
| 97 |
'reference_audio': 'ref_audios/shenyi_ref.wav',
|
| 98 |
-
'prompt_semantic': 'prompt_semantic/shenyi_prompt_semantic.pt',
|
| 99 |
-
'reference_spec': 'refer_spec/shenyi_spec.pt',
|
| 100 |
},
|
| 101 |
'inference_parameters': {
|
| 102 |
'text_lang': "zh",
|
|
@@ -126,8 +120,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 126 |
'gpt-weights': 'GPT_weights/yangmi_best_gpt.ckpt',
|
| 127 |
'sovits-weights': 'SoVITS_weights/yangmi_best_sovits.pth',
|
| 128 |
'reference_audio': 'ref_audios/yangmi_ref.wav',
|
| 129 |
-
'prompt_semantic': 'prompt_semantic/yangmi_prompt_semantic.pt',
|
| 130 |
-
'reference_spec': 'refer_spec/yangmi_spec.pt',
|
| 131 |
},
|
| 132 |
'inference_parameters': {
|
| 133 |
'text_lang': "zh",
|
|
@@ -158,8 +150,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 158 |
'gpt-weights': 'GPT_weights/zhoujielun_best_gpt.ckpt',
|
| 159 |
'sovits-weights': 'SoVITS_weights/zhoujielun_best_sovits.pth',
|
| 160 |
'reference_audio': 'ref_audios/zhoujielun_ref.wav',
|
| 161 |
-
'prompt_semantic': 'prompt_semantic/zhoujielun_prompt_semantic.pt',
|
| 162 |
-
'reference_spec': 'refer_spec/zhoujielun_spec.pt',
|
| 163 |
},
|
| 164 |
'inference_parameters': {
|
| 165 |
'text_lang': "zh",
|
|
@@ -190,8 +180,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 190 |
'gpt-weights': 'GPT_weights/mayun_best_gpt.ckpt',
|
| 191 |
'sovits-weights': 'SoVITS_weights/mayun_best_sovits.pth',
|
| 192 |
'reference_audio': 'ref_audios/mayun_ref.wav',
|
| 193 |
-
'prompt_semantic': 'prompt_semantic/mayun_prompt_semantic.pt',
|
| 194 |
-
'reference_spec': 'refer_spec/mayun_spec.pt',
|
| 195 |
},
|
| 196 |
'inference_parameters': {
|
| 197 |
'text_lang': "zh",
|
|
|
|
| 32 |
'gpt-weights': 'GPT_weights/luoxiang_best_gpt.ckpt',
|
| 33 |
'sovits-weights': 'SoVITS_weights/luoxiang_best_sovits.pth',
|
| 34 |
'reference_audio': 'ref_audios/luoxiang_ref.wav',
|
|
|
|
|
|
|
| 35 |
},
|
| 36 |
'inference_parameters': {
|
| 37 |
'text_lang': "zh",
|
|
|
|
| 61 |
'gpt-weights': 'GPT_weights/mabaoguo_best_gpt.ckpt',
|
| 62 |
'sovits-weights': 'SoVITS_weights/mabaoguo_best_sovits.pth',
|
| 63 |
'reference_audio': 'ref_audios/mabaoguo_ref.wav',
|
|
|
|
|
|
|
| 64 |
},
|
| 65 |
'inference_parameters': {
|
| 66 |
'text_lang': "zh",
|
|
|
|
| 91 |
'gpt-weights': 'GPT_weights/shenyi_best_gpt.ckpt',
|
| 92 |
'sovits-weights': 'SoVITS_weights/shenyi_best_sovits.pth',
|
| 93 |
'reference_audio': 'ref_audios/shenyi_ref.wav',
|
|
|
|
|
|
|
| 94 |
},
|
| 95 |
'inference_parameters': {
|
| 96 |
'text_lang': "zh",
|
|
|
|
| 120 |
'gpt-weights': 'GPT_weights/yangmi_best_gpt.ckpt',
|
| 121 |
'sovits-weights': 'SoVITS_weights/yangmi_best_sovits.pth',
|
| 122 |
'reference_audio': 'ref_audios/yangmi_ref.wav',
|
|
|
|
|
|
|
| 123 |
},
|
| 124 |
'inference_parameters': {
|
| 125 |
'text_lang': "zh",
|
|
|
|
| 150 |
'gpt-weights': 'GPT_weights/zhoujielun_best_gpt.ckpt',
|
| 151 |
'sovits-weights': 'SoVITS_weights/zhoujielun_best_sovits.pth',
|
| 152 |
'reference_audio': 'ref_audios/zhoujielun_ref.wav',
|
|
|
|
|
|
|
| 153 |
},
|
| 154 |
'inference_parameters': {
|
| 155 |
'text_lang': "zh",
|
|
|
|
| 180 |
'gpt-weights': 'GPT_weights/mayun_best_gpt.ckpt',
|
| 181 |
'sovits-weights': 'SoVITS_weights/mayun_best_sovits.pth',
|
| 182 |
'reference_audio': 'ref_audios/mayun_ref.wav',
|
|
|
|
|
|
|
| 183 |
},
|
| 184 |
'inference_parameters': {
|
| 185 |
'text_lang': "zh",
|