diff --git a/src/whisper_params.rs b/src/whisper_params.rs index 34b4adc..36a709e 100644 --- a/src/whisper_params.rs +++ b/src/whisper_params.rs @@ -299,6 +299,15 @@ impl<'a, 'b> FullParams<'a, 'b> { self.fp.suppress_blank = suppress_blank; } + /// Set suppress_non_speech_tokens. + /// See + /// for more information. + /// + /// Defaults to false. + pub fn set_suppress_nst(&mut self, suppress_nst: bool) { + self.fp.suppress_nst = suppress_nst; + } + /// Set initial decoding temperature. /// See for more information. ///