-
Hello, I use whisperAI in google colaboratory, works fine and fast but for some reason --max_line_width doesn't work, does anyone has this same problem? here's the command I use !whisper untitled.mp3 --language cs --model medium --word_timestamps True --max_line_width 16 |
Beta Was this translation helpful? Give feedback.
Answered by
ryanheise
Jul 24, 2023
Replies: 1 comment 8 replies
-
Can you copy/paste part of the generated |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
--max_line_width
in conjunction with--max_line_count
. The former decides when to start a new line, and the latter decides when to start a new subtitle. Note that the latter overrides Whisper's native intuition on when to start a new subtitle which often (but not always) aligns with phrase and sentence boundaries, so by overriding that you will just get it starting a new subtitle whenever the length limit has been reached. There is one exception where it will try to start a new subtitle earlier than the length limit if there has been a pause of a few seconds.