Skip to content

Fix Kokoro audio generation#52

Merged
Blaizzy merged 4 commits intoBlaizzy:mainfrom
lucasnewman:fix-kokoro
Mar 21, 2025
Merged

Fix Kokoro audio generation#52
Blaizzy merged 4 commits intoBlaizzy:mainfrom
lucasnewman:fix-kokoro

Conversation

@lucasnewman
Copy link
Copy Markdown
Collaborator

The original Kokoro didn't have a ModelConfig defined, which is now required with the latest changes. This allows the base generation function work again:

python -m mlx_audio.tts.generate --text "Hello world." --play

@Blaizzy
Copy link
Copy Markdown
Owner

Blaizzy commented Mar 21, 2025

Thanks!

I had made a quick patch yesterday to check for models that have config and other that don't.

But this is great 👍

@Blaizzy
Copy link
Copy Markdown
Owner

Blaizzy commented Mar 21, 2025

Please run pre-commit 👌🏽

@lucasnewman
Copy link
Copy Markdown
Collaborator Author

Oops, fixed, thanks.

@Blaizzy Blaizzy merged commit 9d03df4 into Blaizzy:main Mar 21, 2025
1 check passed
@lucasnewman lucasnewman deleted the fix-kokoro branch March 28, 2025 18:04
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