mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
server : pass max-len argument to the server (#1574)
This commit fixes the missing parameter binding for max-len between the input arguments and wparams.
This commit is contained in:
parent
f0efd0202d
commit
3163090d89
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user