Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Support Kokoro-82M #2790

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

codingl2k1
Copy link
Contributor

@codingl2k1 codingl2k1 commented Jan 28, 2025

Fixes: #2782

Available voices: [
"af_alloy",
"af_aoede",
"af_bella",
"af_jessica",
"af_kore",
"af_nicole",
"af_nova",
"af_river",
"af_sarah",
"af_sky",
"am_adam",
"am_echo",
"am_eric",
"am_fenrir",
"am_liam",
"am_michael",
"am_onyx",
"am_puck",
"bf_alice",
"bf_emma",
"bf_isabella",
"bf_lily",
"bm_daniel",
"bm_fable",
"bm_george",
"bm_lewis",
]

The default model lang_code is a, which means American English, and it can only use the voice with the prefix a. If you choose a voice with the prefix b (bm_daniel), then launch the model with lang_code='b', e.g.

model_uid = client.launch_model(
    model_name="Kokoro-82M",
    model_type="audio",
    compile=False,
    download_hub="huggingface",
    lang_code="b"
)

@XprobeBot XprobeBot added this to the v1.x milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

please add support for Kokoro-TTS
2 participants