From: George Hindle Date: Fri, 12 Jan 2024 11:24:38 +0000 (+0000) Subject: params : don't compute timestamps when not printing them (whisper/1755) X-Git-Tag: upstream/0.0.1642~1089 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7b812c8ef2219a1a5b8f34a53a67979c3e0dad46;p=pkg%2Fggml%2Fsources%2Fggml params : don't compute timestamps when not printing them (whisper/1755) --- diff --git a/examples/whisper/main.cpp b/examples/whisper/main.cpp index 234e2375..c92e9e05 100644 --- a/examples/whisper/main.cpp +++ b/examples/whisper/main.cpp @@ -982,6 +982,8 @@ int main(int argc, char ** argv) { wparams.entropy_thold = params.entropy_thold; wparams.logprob_thold = params.logprob_thold; + wparams.no_timestamps = params.no_timestamps; + whisper_print_user_data user_data = { ¶ms, &pcmf32s, 0 }; // this callback is called on each new segment