diff --git a/src/transcriber.rs b/src/transcriber.rs index e93d881..8240365 100644 --- a/src/transcriber.rs +++ b/src/transcriber.rs @@ -68,6 +68,9 @@ impl Transcriber { fp.set_logprob_thold(-1.0); fp.set_suppress_blank(true); fp.set_suppress_non_speech_tokens(true); + // Prevent repetition loops on long audio: do not feed the previous + // segment's text back as context for the next segment. + fp.set_no_context(true); fp.set_print_progress(false); fp.set_print_realtime(false);