Fangjun Kuang
Committed by GitHub

Add one more German tts model from OpenVoiceOS. (#2536)

@@ -158,6 +158,7 @@ jobs: @@ -158,6 +158,7 @@ jobs:
158 vits-piper-nl_NL-miro-high 158 vits-piper-nl_NL-miro-high
159 vits-piper-nl_NL-dii-high 159 vits-piper-nl_NL-dii-high
160 vits-piper-de_DE-miro-high 160 vits-piper-de_DE-miro-high
  161 + vits-piper-de_DE-dii-high
161 vits-piper-fr_FR-miro-high 162 vits-piper-fr_FR-miro-high
162 vits-piper-en_US-miro-high 163 vits-piper-en_US-miro-high
163 vits-piper-pl_PL-jarvis_wg_glos-medium 164 vits-piper-pl_PL-jarvis_wg_glos-medium
@@ -118,6 +118,7 @@ def get_piper_models() -> List[TtsModel]: @@ -118,6 +118,7 @@ def get_piper_models() -> List[TtsModel]:
118 TtsModel(model_dir="vits-piper-de_DE-eva_k-x_low"), 118 TtsModel(model_dir="vits-piper-de_DE-eva_k-x_low"),
119 TtsModel(model_dir="vits-piper-de_DE-karlsson-low"), 119 TtsModel(model_dir="vits-piper-de_DE-karlsson-low"),
120 TtsModel(model_dir="vits-piper-de_DE-kerstin-low"), 120 TtsModel(model_dir="vits-piper-de_DE-kerstin-low"),
  121 + TtsModel(model_dir="vits-piper-de_DE-dii-high"),
121 TtsModel(model_dir="vits-piper-de_DE-miro-high"), 122 TtsModel(model_dir="vits-piper-de_DE-miro-high"),
122 # TtsModel(model_dir="vits-piper-de_DE-mls-medium"), 123 # TtsModel(model_dir="vits-piper-de_DE-mls-medium"),
123 TtsModel(model_dir="vits-piper-de_DE-pavoque-low"), 124 TtsModel(model_dir="vits-piper-de_DE-pavoque-low"),
@@ -261,7 +261,7 @@ def get_es_models(): @@ -261,7 +261,7 @@ def get_es_models():
261 261
262 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_es-ES_miro" >> README.md 262 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_es-ES_miro" >> README.md
263 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 263 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
264 - echo "\n\n#License\n\n" >> README.md 264 + echo "\n\n# License\n\n" >> README.md
265 265
266 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 266 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
267 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 267 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -423,7 +423,7 @@ def get_fr_models(): @@ -423,7 +423,7 @@ def get_fr_models():
423 423
424 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_fr-FR_miro" >> README.md 424 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_fr-FR_miro" >> README.md
425 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 425 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
426 - echo "\n\n#License\n\n" >> README.md 426 + echo "\n\n# License\n\n" >> README.md
427 427
428 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 428 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
429 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 429 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -576,7 +576,7 @@ def get_it_models(): @@ -576,7 +576,7 @@ def get_it_models():
576 576
577 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_it-IT_miro" >> README.md 577 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_it-IT_miro" >> README.md
578 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 578 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
579 - echo "\n\n#License\n\n" >> README.md 579 + echo "\n\n# License\n\n" >> README.md
580 580
581 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 581 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
582 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 582 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -606,7 +606,7 @@ def get_it_models(): @@ -606,7 +606,7 @@ def get_it_models():
606 606
607 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_it-IT_dii" >> README.md 607 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_it-IT_dii" >> README.md
608 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 608 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
609 - echo "\n\n#License\n\n" >> README.md 609 + echo "\n\n# License\n\n" >> README.md
610 610
611 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 611 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
612 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 612 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -848,7 +848,7 @@ def get_nl_models(): @@ -848,7 +848,7 @@ def get_nl_models():
848 848
849 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_nl-NL_miro" >> README.md 849 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_nl-NL_miro" >> README.md
850 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 850 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
851 - echo "\n\n#License\n\n" >> README.md 851 + echo "\n\n# License\n\n" >> README.md
852 852
853 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 853 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
854 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 854 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -878,7 +878,7 @@ def get_nl_models(): @@ -878,7 +878,7 @@ def get_nl_models():
878 878
879 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_nl-NL_dii" >> README.md 879 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_nl-NL_dii" >> README.md
880 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 880 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
881 - echo "\n\n#License\n\n" >> README.md 881 + echo "\n\n# License\n\n" >> README.md
882 882
883 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 883 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
884 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 884 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1080,7 +1080,7 @@ def get_pt_models(): @@ -1080,7 +1080,7 @@ def get_pt_models():
1080 1080
1081 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-PT_miro" >> README.md 1081 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-PT_miro" >> README.md
1082 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1082 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1083 - echo "\n\n#License\n\n" >> README.md 1083 + echo "\n\n# License\n\n" >> README.md
1084 1084
1085 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1085 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1086 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1086 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1110,7 +1110,7 @@ def get_pt_models(): @@ -1110,7 +1110,7 @@ def get_pt_models():
1110 1110
1111 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-PT_dii" >> README.md 1111 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-PT_dii" >> README.md
1112 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1112 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1113 - echo "\n\n#License\n\n" >> README.md 1113 + echo "\n\n# License\n\n" >> README.md
1114 1114
1115 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1115 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1116 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1116 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1143,7 +1143,7 @@ def get_pt_models(): @@ -1143,7 +1143,7 @@ def get_pt_models():
1143 1143
1144 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-BR_miro" >> README.md 1144 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-BR_miro" >> README.md
1145 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1145 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1146 - echo "\n\n#License\n\n" >> README.md 1146 + echo "\n\n# License\n\n" >> README.md
1147 1147
1148 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1148 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1149 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1149 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1173,7 +1173,7 @@ def get_pt_models(): @@ -1173,7 +1173,7 @@ def get_pt_models():
1173 1173
1174 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-BR_dii" >> README.md 1174 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_pt-BR_dii" >> README.md
1175 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1175 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1176 - echo "\n\n#License\n\n" >> README.md 1176 + echo "\n\n# License\n\n" >> README.md
1177 1177
1178 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1178 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1179 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1179 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1642,7 +1642,7 @@ def get_en_models(): @@ -1642,7 +1642,7 @@ def get_en_models():
1642 1642
1643 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_en-GB_miro" >> README.md 1643 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_en-GB_miro" >> README.md
1644 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1644 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1645 - echo "\n\n#License\n\n" >> README.md 1645 + echo "\n\n# License\n\n" >> README.md
1646 1646
1647 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1647 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1648 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1648 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1672,7 +1672,7 @@ def get_en_models(): @@ -1672,7 +1672,7 @@ def get_en_models():
1672 1672
1673 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_en-GB_dii" >> README.md 1673 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_en-GB_dii" >> README.md
1674 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1674 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1675 - echo "\n\n#License\n\n" >> README.md 1675 + echo "\n\n# License\n\n" >> README.md
1676 1676
1677 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1677 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1678 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1678 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1725,7 +1725,7 @@ def get_en_models(): @@ -1725,7 +1725,7 @@ def get_en_models():
1725 1725
1726 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_en-US_miro" >> README.md 1726 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_en-US_miro" >> README.md
1727 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1727 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1728 - echo "\n\n#License\n\n" >> README.md 1728 + echo "\n\n# License\n\n" >> README.md
1729 1729
1730 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1730 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1731 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1731 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1883,7 +1883,7 @@ def get_de_models(): @@ -1883,7 +1883,7 @@ def get_de_models():
1883 1883
1884 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_de-DE_miro" >> README.md 1884 echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_de-DE_miro" >> README.md
1885 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md 1885 echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
1886 - echo "\n\n#License\n\n" >> README.md 1886 + echo "\n\n# License\n\n" >> README.md
1887 1887
1888 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md 1888 echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
1889 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md 1889 echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
@@ -1903,6 +1903,36 @@ def get_de_models(): @@ -1903,6 +1903,36 @@ def get_de_models():
1903 """, 1903 """,
1904 url="https://huggingface.co/OpenVoiceOS/pipertts_de-DE_miro", 1904 url="https://huggingface.co/OpenVoiceOS/pipertts_de-DE_miro",
1905 ), 1905 ),
  1906 + PiperModel(
  1907 + name="dii",
  1908 + kind="high",
  1909 + sr=22050,
  1910 + ns=1,
  1911 + cmd="""
  1912 + wget -qq https://huggingface.co/OpenVoiceOS/pipertts_de-DE_dii/resolve/main/README.md
  1913 +
  1914 + echo "\n\nSee https://huggingface.co/OpenVoiceOS/pipertts_de-DE_dii" >> README.md
  1915 + echo "and https://github.com/OHF-Voice/piper1-gpl/discussions/27" >> README.md
  1916 + echo "\n\n# License\n\n" >> README.md
  1917 +
  1918 + echo "See also https://github.com/k2-fsa/sherpa-onnx/pull/2480\n\n" >> README.md
  1919 + echo "This model is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n" >> README.md
  1920 +
  1921 + echo "- ✅ Always free for regular (non-commercial) users \n" >> README.md
  1922 + echo "- ❌ Commercial use is not allowed at this time \n" >> README.md
  1923 + echo "- 🔄 The author may relax the restrictions in the future (e.g., allow commercial use), but will not make them stricter \n\n" >> README.md
  1924 + echo "**Important:** You must include this license when redistributing the model or any derivatives.\n" >> README.md
  1925 +
  1926 +
  1927 +
  1928 + wget -qq https://huggingface.co/OpenVoiceOS/pipertts_de-DE_dii/resolve/main/dii_de-DE.onnx
  1929 + wget -qq https://huggingface.co/OpenVoiceOS/pipertts_de-DE_dii/resolve/main/dii_de-DE.onnx.json
  1930 +
  1931 + mv dii_de-DE.onnx de_DE-dii-high.onnx
  1932 + mv dii_de-DE.onnx.json de_DE-dii-high.onnx.json
  1933 + """,
  1934 + url="https://huggingface.co/OpenVoiceOS/pipertts_de-DE_dii",
  1935 + ),
1906 ] 1936 ]
1907 1937
1908 for m in de_de: 1938 for m in de_de: