node : add max_len params in node addon (#2760)

This commit is contained in:
billyct
2025-02-04 04:49:06 +08:00
committed by GitHub
parent 3f91832352
commit cadfc50eab
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ const whisperParams = {
translate: true,
no_timestamps: false,
audio_ctx: 0,
max_len: 0,
};
const arguments = process.argv.slice(2);