Update TTS Engine APK to support multi-lang (#2294)

This commit is contained in:
Fangjun Kuang
2025-06-17 14:16:48 +08:00
committed by GitHub
parent 0c42c06f75
commit 4ae9382bae
5 changed files with 27 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ if [[ $model_dir == vits-melo-tts-zh_en ]]; then
lang=zh_en
fi
if [[ $model_dir == kokoro-multi-lang-v1_0 ]]; then
if [[ $model_dir == kokoro-multi-lang-v1_0 || $model_dir == kokoro-multi-lang-v1_1 || $model_dir == kokoro-int8-multi-lang-v1_1 ]]; then
lang=zh_en
fi