in line 49, the return statement will make language code always set as 'a' and return, which is not correct.
I suggest to remove it.

It doesn’t always fall back to English, only when the language is:
Japanese
or,
Mandarin Chinese

For these languages, we need:
🇯🇵 'j' → Japanese: pip install misaki[ja]
🇨🇳 'z' → Mandarin Chinese: pip install misaki[zh]

By default, Kokoro uses misaki[en] only.

I’m not sure if misaki[en], misaki[ja], and misaki[zh] can be used at the same time.

NeuralFalcon changed pull request status to closed

Sign up or log in to comment