Is there a way to cancel the transcription process?
farmer00317558 opened this issue · 4 comments
farmer00317558 commented
Is there a way to cancel the transcription process?
tazz4843 commented
Nope. This would be an issue for whisper.cpp, not for this project, however.
farmer00317558 commented
Can this do that? ggerganov/whisper.cpp#194
tazz4843 commented
That is exposed: see https://docs.rs/whisper-rs/latest/whisper_rs/struct.FullParams.html#method.set_start_encoder_callback
You will need to handle unsafe code yourself however. I have no plans to make this a safe Rust wrapper, however if you'd like to do so, feel free to make a PR.
farmer00317558 commented
I’ve only been getting to know Rust for a few days, when I am good at it, I’d love to, but Rust is really hard.