Skip to content

Commit

Permalink
server : pass max-len argument to the server (#1574)
Browse files Browse the repository at this point in the history
This commit fixes the missing parameter binding for max-len between the input
arguments and wparams.
  • Loading branch information
osdrv authored Dec 5, 2023
1 parent f0efd02 commit 3163090
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ int main(int argc, char ** argv) {
wparams.duration_ms = params.duration_ms;

wparams.thold_pt = params.word_thold;
wparams.max_len = params.max_len == 0 ? 60 : params.max_len;
wparams.split_on_word = params.split_on_word;

wparams.speed_up = params.speed_up;
Expand Down

0 comments on commit 3163090

Please sign in to comment.