Skip to content
Discussion options

You must be logged in to vote

it's not transcribing most of it because you're trimming a 50 seconds down to 30 seconds, so 20 seconds of the audio got thrown out in this line:

audio = whisper.pad_or_trim(audio)

pad_or_trim() by default trims the audio down to 480000 samples or 30 seconds, which what the model expects for input

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jongwook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants