Removing First Line, But It's Not Empty
I've been seeing empty transcription results, and did some digging to find that you're trying to remove the first line assuming that it is empty. In my testing, it's never empty. Perhaps you could create a more elegant solution that looks for empty array elements after it's parsed and then remove those?
https://github.com/ariym/whisper-node/blob/92e8b86200416a6af9e5698a02481a54811e1321/src/tsToArray.ts#L11
Same here. The first line is never empty for me, even if I add a long blank at the beginning of the audio. I removed the shift() function, and it seems to work fine. Also, I often see [BLANK_AUDIO] at the end of my transcript array, which can be easily filtered out.
~~Could it be that the first line is the translation? I recorded in german but my first line was in english~~
I didn't set language to auto, thats why it was translating the text