Skip to content

Commit

Permalink
node : fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Oct 6, 2023
1 parent e0ebea2 commit 94ecb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/addon.node/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Napi::Value whisper(const Napi::CallbackInfo& info) {
std::string language = whisper_params.Get("language").As<Napi::String>();
std::string model = whisper_params.Get("model").As<Napi::String>();
std::string input = whisper_params.Get("fname_inp").As<Napi::String>();
std::string input = whisper_params.Get("use_gpu").As<Napi::Boolean>();
bool use_gpu = whisper_params.Get("use_gpu").As<Napi::Boolean>();

params.language = language;
params.model = model;
Expand Down

0 comments on commit 94ecb91

Please sign in to comment.