From de990698e34caf2e4fe36659badcd3a972fe1390 Mon Sep 17 00:00:00 2001 From: Angel M De Miguel Date: Thu, 28 Sep 2023 12:47:33 +0200 Subject: [PATCH] fix: update instructions in the rust-wasi-nn-preload example --- examples/rust-wasi-nn-preload/README.md | 2 +- examples/rust-wasi-nn-preload/inference.toml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/rust-wasi-nn-preload/README.md b/examples/rust-wasi-nn-preload/README.md index 16ac0419..feca601f 100644 --- a/examples/rust-wasi-nn-preload/README.md +++ b/examples/rust-wasi-nn-preload/README.md @@ -39,7 +39,7 @@ Compile a Rust that performs Machine Learning (ML) inference with [WASI-NN](http ```shell-session cargo build --target wasm32-wasi --release && \ - cp target/wasm32-wasi/release/rust-wasi-nn.wasm ./inference.wasm + cp target/wasm32-wasi/release/rust-wasi-nn-preload.wasm ./inference.wasm ``` ## Run diff --git a/examples/rust-wasi-nn-preload/inference.toml b/examples/rust-wasi-nn-preload/inference.toml index cec2430d..a6eefaee 100644 --- a/examples/rust-wasi-nn-preload/inference.toml +++ b/examples/rust-wasi-nn-preload/inference.toml @@ -1,9 +1,6 @@ -name = "wasi-nn-mobilenet" +name = "wasi-nn-mobilenet-preload" version = "1" -[vars] -MODEL = "model" - [[features.wasi_nn.preload_models]] backend = "openvino" provider = { type = "local", dir = "./_models/mobilenet/" }