mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-07-23 11:10:57 -05:00
* Fix #587: Remove leading space from txt output The BPE tokenizer used by Whisper produces tokens with leading spaces, causing each line in the txt output to start with an unwanted space. This fix strips leading whitespace (spaces and tabs) from each segment when writing to txt output files, improving the readability of the transcription output. Fixes: https://github.com/ggml-org/whisper.cpp/issues/587
62 KiB
62 KiB