Skip to content

Update README.md to fix lang_code error#49

Merged
Blaizzy merged 5 commits intoBlaizzy:mainfrom
zboyles:doc-fix-generate-example-code
Mar 20, 2025
Merged

Update README.md to fix lang_code error#49
Blaizzy merged 5 commits intoBlaizzy:mainfrom
zboyles:doc-fix-generate-example-code

Conversation

@zboyles
Copy link
Copy Markdown
Contributor

@zboyles zboyles commented Mar 20, 2025

The example fails if using the Kokoro model it is written with. I corrected it to resolve the issue and made a few minor changes. Feel free to revert those changes if you want.

Changes

  • Set lang_code to a and added a short explaination
  • Added 2nd line to text to demonstrate the join_audio feature
  • Changed audio_format from its default wav to mp3

@Blaizzy
Copy link
Copy Markdown
Owner

Blaizzy commented Mar 20, 2025

Thanks for the fix, indeed language code should be:

# 🇺🇸 'a' => American English, 🇬🇧 'b' => British English
# 🇯🇵 'j' => Japanese: pip install misaki[ja]
# 🇨🇳 'z' => Mandarin Chinese: pip install misaki[zh]
# 🇪🇸 'e' => Spanish es
# 🇫🇷 'f' => French fr-fr
# 🇮🇳 'h' => Hindi hi
# 🇮🇹 'i' => Italian it
# 🇧🇷 'p' => Brazilian Portuguese pt-br

@Blaizzy Blaizzy merged commit e1cf81f into Blaizzy:main Mar 20, 2025
1 check passed
@zboyles zboyles deleted the doc-fix-generate-example-code branch March 21, 2025 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants