tazz4843 / whisper-rs

Rust bindings to https://github.com/ggerganov/whisper.cpp
The Unlicense
607 stars 105 forks source link

feat: add get segment text lossy #130

Closed thewh1teagle closed 2 months ago

thewh1teagle commented 2 months ago

Add full_get_segment_text_lossy so it wont crash in case that whisper return some invalid characters.

Resolve https://github.com/tazz4843/whisper-rs/issues/115 Tested in https://github.com/thewh1teagle/vibe/issues/39

tazz4843 commented 2 months ago

Needs rustfmt but looks good