Skip to content

Commit

Permalink
Add two GLaDOS TTS models (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Dec 13, 2023
1 parent 80d0192 commit 9829d7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/apk/generate-tts-apk-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def get_piper_models() -> List[TtsModel]:
TtsModel(model_dir="vits-piper-en_GB-southern_english_female-low"),
TtsModel(model_dir="vits-piper-en_GB-sweetbbak-amy"),
TtsModel(model_dir="vits-piper-en_GB-vctk-medium"),
TtsModel(model_dir="vits-piper-en_US-glados"),
TtsModel(model_dir="vits-piper-en_US-amy-low"),
TtsModel(model_dir="vits-piper-en_US-amy-medium"),
TtsModel(model_dir="vits-piper-en_US-arctic-medium"),
Expand All @@ -96,6 +97,7 @@ def get_piper_models() -> List[TtsModel]:
TtsModel(model_dir="vits-piper-en_US-ryan-high"),
TtsModel(model_dir="vits-piper-en_US-ryan-low"),
TtsModel(model_dir="vits-piper-en_US-ryan-medium"),
TtsModel(model_dir="vits-piper-es-glados-medium"),
TtsModel(model_dir="vits-piper-es_ES-carlfm-x_low"),
TtsModel(model_dir="vits-piper-es_ES-davefx-medium"),
TtsModel(model_dir="vits-piper-es_ES-mls_10246-low"),
Expand Down Expand Up @@ -158,7 +160,7 @@ def get_piper_models() -> List[TtsModel]:
for m in models:
m.data_dir = m.model_dir + "/" + "espeak-ng-data"
m.model_name = m.model_dir[len("vits-piper-") :] + ".onnx"
m.lang = "en"
m.lang = m.model_dir.split("-")[2][:2]

return models

Expand Down

0 comments on commit 9829d7c

Please sign in to comment.