node : add additional params (#2000)

* Add additional params to addon.node

* Add comma_in_time as parameter

* Fix tests
This commit is contained in:
valVk
2024-05-13 15:15:43 +03:00
committed by GitHub
parent 17fa62d3d3
commit 30f73109b8
3 changed files with 26 additions and 6 deletions

View File

@ -12,6 +12,9 @@ const whisperParamsMock = {
model: path.join(__dirname, "../../../models/ggml-base.en.bin"),
fname_inp: path.join(__dirname, "../../../samples/jfk.wav"),
use_gpu: true,
no_prints: true,
comma_in_time: false,
translate: true,
no_timestamps: false,
};