whisper : set no_context == true by default (#537)

pull/566/merge
Georgi Gerganov 2 years ago
parent 5e94129cb2
commit 478289a4b3
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -288,7 +288,6 @@ int main(int argc, char ** argv) {
wparams.print_realtime = false;
wparams.print_timestamps = !params.no_timestamps;
wparams.translate = params.translate;
wparams.no_context = true;
wparams.single_segment = !use_vad;
wparams.max_tokens = params.max_tokens;
wparams.language = params.language.c_str();

@ -2913,7 +2913,7 @@ struct whisper_full_params whisper_full_default_params(enum whisper_sampling_str
/*.duration_ms =*/ 0,
/*.translate =*/ false,
/*.no_context =*/ false,
/*.no_context =*/ true,
/*.single_segment =*/ false,
/*.print_special =*/ false,
/*.print_progress =*/ true,

Loading…
Cancel
Save