Skip to content

whisper : support speaker segmentation (local diarization) of mono audio via tinydiarize #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jul 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
slipped in some python syntax whoops
  • Loading branch information
akashmjn committed Jun 28, 2023
commit 77825ecfff081f873eb42f3a5440f1d35da31f10
2 changes: 1 addition & 1 deletion examples/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void whisper_print_segment_callback(struct whisper_context * ctx, struct whisper
for (int j = 0; j < whisper_full_n_tokens(ctx, i); ++j) {
if (params.print_special == false) {
const whisper_token id = whisper_full_get_token_id(ctx, i, j);
if (id >= whisper_token_eot(ctx) and id != whisper_token_solm(ctx)) { // TODO@Akash - make configurable?
if (id >= whisper_token_eot(ctx) && id != whisper_token_solm(ctx)) { // TODO@Akash - make configurable?
continue;
}
}
Expand Down