Skip to content

Commit b6f3e62

Browse files
author
linxiaodong
committed
feat: show api in test file
1 parent a970bdb commit b6f3e62

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ const whisperParamsMock = {
1919
no_timestamps: false,
2020
audio_ctx: 0,
2121
max_len: 0,
22+
prompt: "",
23+
print_progress: false,
24+
progress_callback: (progress) => {
25+
console.log(`Progress: ${progress}`);
26+
},
27+
max_context: -1
2228
};
2329

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

0 commit comments

Comments
 (0)