Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Ramya <[email protected]>
  • Loading branch information
rum1887 committed Apr 8, 2024
1 parent 841daf7 commit 2555288
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/wasi_nn/whispercpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Expect<ErrNo> load([[maybe_unused]] WasiNNEnvironment &Env,
[[maybe_unused]] uint32_t &GraphId) noexcept {
Env.NNGraph.emplace_back(Backend::WHISPER);
auto &GraphRef = Env.NNGraph.back().get<Graph>();
truct whisper_context_params ContextDefault =
struct whisper_context_params ContextDefault =
whisper_context_default_params(); // from whisper.cpp
GraphRef.EnableLog = false;
GraphRef.EnableDebugLog = false;
Expand Down
2 changes: 1 addition & 1 deletion plugins/wasi_nn/whispercpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct WasiNNEnvironment;
namespace WasmEdge::Host::WASINN::WHISPER {
#ifdef WASMEDGE_PLUGIN_WASI_NN_BACKEND_WHISPER
struct Graph {
// whisper_model *WhisperModel = nullptr;
whisper_model *WhisperModel = nullptr;
std::string ModelFilePath;
// Plugin parameters:
bool EnableLog = false;
Expand Down

0 comments on commit 2555288

Please sign in to comment.