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

fix generate-subtitles.py bug #1029

Merged
merged 2 commits into from
Jun 18, 2024
Merged

fix generate-subtitles.py bug #1029

merged 2 commits into from
Jun 18, 2024

Conversation

xiaokuang95
Copy link
Contributor

The converted audio file does not have a mute data of 1 second or more at the end, which will result in the loss of the last segment data

@csukuangfj
Copy link
Collaborator

Thank you for your contribution!

@csukuangfj csukuangfj merged commit 167bc76 into k2-fsa:master Jun 18, 2024
XiaYucca pushed a commit to XiaYucca/sherpa-onnx that referenced this pull request Jan 9, 2025
* fix generate-subtitles.py If the audio file is not muted for more than 1 second at the end, it will cause the last segment to be lost
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