Skip to content

Commit 3c5d496

Browse files
Add DTW model large-v3-turbo parameters to server.cpp example
DTW support is available in whispercpp and the large-v3-turbo model has already been added to the sources, but the large-v3-turbo model hasn't been added to the server.cpp file to make use of it. This commit hopefully corrects that issue.
1 parent d9999d5 commit 3c5d496

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/server/server.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,9 @@ int main(int argc, char ** argv) {
674674
if (params.dtw == "large.v3") {
675675
cparams.dtw_aheads_preset = WHISPER_AHEADS_LARGE_V3;
676676
}
677-
677+
if (params.dtw == "large.v3.turbo") {
678+
cparams.dtw_aheads_preset = WHISPER_AHEADS_LARGE_V3_TURBO;
679+
}
678680
if (cparams.dtw_aheads_preset == WHISPER_AHEADS_NONE) {
679681
fprintf(stderr, "error: unknown DTW preset '%s'\n", params.dtw.c_str());
680682
return 3;

0 commit comments

Comments
 (0)