main : dont print timings with --no-prints (#2108)

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
This commit is contained in:
Daniel Ziegenberg 2024-05-13 14:00:19 +02:00 committed by GitHub
parent f141b2b938
commit 0bb05b113d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1233,7 +1233,9 @@ int main(int argc, char ** argv) {
} }
} }
whisper_print_timings(ctx); if (!params.no_prints) {
whisper_print_timings(ctx);
}
whisper_free(ctx); whisper_free(ctx);
return 0; return 0;