Skip to content

Commit

Permalink
no dtw
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Oct 7, 2024
1 parent 0046ba7 commit 91f8f56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rcpp_whisper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ class WhisperModel {
struct whisper_context_params cparams;
cparams.use_gpu = use_gpu;
cparams.flash_attn = flash_attn;
cparams.dtw_aheads_preset = WHISPER_AHEADS_NONE;
cparams.dtw_token_timestamps = false;
ctx = whisper_init_from_file_with_params(model.c_str(), cparams);
}
~WhisperModel(){
Expand Down

0 comments on commit 91f8f56

Please sign in to comment.