diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index f87acfe..83bbf5c 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -744,6 +744,8 @@ class WhisperModel: if ( options.no_speech_threshold is not None and result.no_speech_prob > options.no_speech_threshold + and options.log_prob_threshold is not None + and avg_logprob < options.log_prob_threshold ): needs_fallback = False # silence