Skip to content

Commit

Permalink
main: dont print timings with --no-prints
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Ziegenberg <[email protected]>
  • Loading branch information
ziegenberg committed Apr 30, 2024
1 parent 8fac645 commit 5b4039c
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 @@ -1193,7 +1193,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 5b4039c

Please sign in to comment.