]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
params : don't compute timestamps when not printing them (whisper/1755)
authorGeorge Hindle <redacted>
Fri, 12 Jan 2024 11:24:38 +0000 (11:24 +0000)
committerGeorgi Gerganov <redacted>
Fri, 12 Jan 2024 19:57:20 +0000 (21:57 +0200)
examples/whisper/main.cpp

index 234e2375936091ea121b77450a0619bf544c98ff..c92e9e05ef04b2d730dc20df55fc830704a02475 100644 (file)
@@ -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 = { &params, &pcmf32s, 0 };
 
             // this callback is called on each new segment