diff --git a/script/whisper-addon.cpp b/script/whisper-addon.cpp index 5a40b45..260ba9e 100644 --- a/script/whisper-addon.cpp +++ b/script/whisper-addon.cpp @@ -317,14 +317,12 @@ Napi::Value whisper(const Napi::CallbackInfo& info) { std::string input = whisper_params.Get("fname_inp").As(); int32_t max_len = whisper_params.Get("max_len").As(); bool translate = whisper_params.Get("translate").As(); - bool no_timestamps = whisper_params.Get("no_timestamps").As(); params.language = language; params.model = model; params.fname_inp.emplace_back(input); params.max_len = max_len; params.translate = translate; - params.no_timestamps = no_timestamps; Napi::Function callback = info[1].As(); Worker* worker = new Worker(callback, params);