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
IndexError: string index out of range #8
Comments
Hi @s-bhagwat thanks for letting me know about this issue. Unfortunately, I was not able to reproduce this issue with a subtitle file without periods. Could you attach a copy of the video and its subtitle file you were trying to transcribe? Thanks |
https://drive.google.com/drive/folders/17DC85DsED7GeOJ-qmvlcYj5m__I4hSoF?usp=sharing It is a youtube video with auto subs I have tested it after cutting it to 10 mins. |
Hi @s-bhagwat thanks for filing the bug, and for providing the video and subtitle files. I was able to reproduce the error. A PR was made and merged in to fix the error (#10). Unfortunately, the provided subtitle file didn't generate the best PDF. I would maybe suggest using another tool to get subtitles from a youtube video. I found https://downsub.com. From their website, I was able to generate subtitles for the youtube video, and generate a PDF that looked like: On the other hand, please let me know if you encounter any bugs. Thanks |
Thanks my issue is resolved ! |
I'm getting this error -
In my subtitle file I dont have any dots (.) I think that is the problem,
This is the output
The text was updated successfully, but these errors were encountered: