Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix: Prepend 0 to tokenization to prevent word skipping for Kokoro. #1787

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

ahadjawaid
Copy link
Contributor

Addressed issue Skipping words #1777

In the original code they have a 0 in front and behind. Currently it only has it behind so I added it to the front also. Here is the original code:
https://huggingface.co/hexgrad/kLegacy/blob/d0acca3b0748cae52e0a14a28ad03515002ff22f/v0.19/kokoro.py#L117

@csukuangfj
Copy link
Collaborator

Thank you for your contribution!

@csukuangfj csukuangfj merged commit 8677d83 into k2-fsa:master Feb 3, 2025
@csukuangfj csukuangfj mentioned this pull request Feb 3, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants