Skip to content

Commit

Permalink
main : dont print timings with --no-prints (#2108)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
  • Loading branch information
ziegenberg committed May 13, 2024
1 parent f141b2b commit 0bb05b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

return 0;
Expand Down

0 comments on commit 0bb05b1

Please sign in to comment.