正在显示
2 个修改的文件
包含
57 行增加
和
0 行删除
| @@ -219,7 +219,11 @@ def get_piper_models() -> List[TtsModel]: | @@ -219,7 +219,11 @@ def get_piper_models() -> List[TtsModel]: | ||
| 219 | TtsModel(model_dir="vits-piper-no_NO-talesyntese-medium"), | 219 | TtsModel(model_dir="vits-piper-no_NO-talesyntese-medium"), |
| 220 | TtsModel(model_dir="vits-piper-pl_PL-darkman-medium"), | 220 | TtsModel(model_dir="vits-piper-pl_PL-darkman-medium"), |
| 221 | TtsModel(model_dir="vits-piper-pl_PL-gosia-medium"), | 221 | TtsModel(model_dir="vits-piper-pl_PL-gosia-medium"), |
| 222 | + TtsModel(model_dir="vits-piper-pl_PL-jarvis_wg_glos-medium"), | ||
| 223 | + TtsModel(model_dir="vits-piper-pl_PL-justyna_wg_glos-medium"), | ||
| 222 | TtsModel(model_dir="vits-piper-pl_PL-mc_speech-medium"), | 224 | TtsModel(model_dir="vits-piper-pl_PL-mc_speech-medium"), |
| 225 | + TtsModel(model_dir="vits-piper-pl_PL-meski_wg_glos-medium"), | ||
| 226 | + TtsModel(model_dir="vits-piper-pl_PL-zenski_wg_glos-medium"), | ||
| 223 | TtsModel(model_dir="vits-piper-pt_BR-cadu-medium"), | 227 | TtsModel(model_dir="vits-piper-pt_BR-cadu-medium"), |
| 224 | TtsModel(model_dir="vits-piper-pt_BR-edresson-low"), | 228 | TtsModel(model_dir="vits-piper-pt_BR-edresson-low"), |
| 225 | TtsModel(model_dir="vits-piper-pt_BR-faber-medium"), | 229 | TtsModel(model_dir="vits-piper-pt_BR-faber-medium"), |
| @@ -715,6 +715,59 @@ def get_pl_models(): | @@ -715,6 +715,59 @@ def get_pl_models(): | ||
| 715 | PiperModel(name="mc_speech", kind="medium", sr=22050, ns=1), | 715 | PiperModel(name="mc_speech", kind="medium", sr=22050, ns=1), |
| 716 | ] | 716 | ] |
| 717 | 717 | ||
| 718 | + pl_PL.extend( | ||
| 719 | + [ | ||
| 720 | + PiperModel( | ||
| 721 | + name="jarvis_wg_glos", | ||
| 722 | + kind="medium", | ||
| 723 | + sr=22050, | ||
| 724 | + ns=1, | ||
| 725 | + cmd=""" | ||
| 726 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-jarvis_wg_glos-medium.onnx | ||
| 727 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-jarvis_wg_glos-medium.onnx.json | ||
| 728 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/README.md | ||
| 729 | + """, | ||
| 730 | + url="https://github.com/k2-fsa/sherpa-onnx/issues/2402", | ||
| 731 | + ), | ||
| 732 | + PiperModel( | ||
| 733 | + name="justyna_wg_glos", | ||
| 734 | + kind="medium", | ||
| 735 | + sr=22050, | ||
| 736 | + ns=1, | ||
| 737 | + cmd=""" | ||
| 738 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-justyna_wg_glos-medium.onnx | ||
| 739 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-justyna_wg_glos-medium.onnx.json | ||
| 740 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/README.md | ||
| 741 | + """, | ||
| 742 | + url="https://github.com/k2-fsa/sherpa-onnx/issues/2402", | ||
| 743 | + ), | ||
| 744 | + PiperModel( | ||
| 745 | + name="meski_wg_glos", | ||
| 746 | + kind="medium", | ||
| 747 | + sr=22050, | ||
| 748 | + ns=1, | ||
| 749 | + cmd=""" | ||
| 750 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-meski_wg_glos-medium.onnx | ||
| 751 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-meski_wg_glos-medium.onnx.json | ||
| 752 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/README.md | ||
| 753 | + """, | ||
| 754 | + url="https://github.com/k2-fsa/sherpa-onnx/issues/2402", | ||
| 755 | + ), | ||
| 756 | + PiperModel( | ||
| 757 | + name="zenski_wg_glos", | ||
| 758 | + kind="medium", | ||
| 759 | + sr=22050, | ||
| 760 | + ns=1, | ||
| 761 | + cmd=""" | ||
| 762 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-zenski_wg_glos-medium.onnx | ||
| 763 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/pl_PL-zenski_wg_glos-medium.onnx.json | ||
| 764 | + wget -qq https://huggingface.co/WitoldG/polish_piper_models/resolve/main/README.md | ||
| 765 | + """, | ||
| 766 | + url="https://github.com/k2-fsa/sherpa-onnx/issues/2402", | ||
| 767 | + ), | ||
| 768 | + ] | ||
| 769 | + ) | ||
| 770 | + | ||
| 718 | for m in pl_PL: | 771 | for m in pl_PL: |
| 719 | m.lang = "pl_PL" | 772 | m.lang = "pl_PL" |
| 720 | 773 |
-
请 注册 或 登录 后发表评论