Skip to content

Commit 1279f0d

Browse files
buxukulinxiaodong
andauthored
examples : support progress_callback API for addon.node (#2941)
* feat: progress supported * fix: missing params * style: Format the code to improve readability Unified code indentation ensures consistent coding style, enhancing code readability and maintainability. * feat: support prompt api --------- Co-authored-by: linxiaodong <calm.lin@wukongsch.com>
1 parent f28bf5d commit 1279f0d

File tree

3 files changed

+205
-146
lines changed

3 files changed

+205
-146
lines changed

examples/addon.node/__test__/whisper.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const whisperParamsMock = {
1818
translate: true,
1919
no_timestamps: false,
2020
audio_ctx: 0,
21+
max_len: 0,
2122
};
2223

2324
describe("Run whisper.node", () => {

0 commit comments

Comments
 (0)