diff options
Diffstat (limited to 'candle-wasm-examples/yolo')
-rw-r--r-- | candle-wasm-examples/yolo/Cargo.toml | 4 | ||||
-rw-r--r-- | candle-wasm-examples/yolo/src/app.rs | 2 | ||||
-rw-r--r-- | candle-wasm-examples/yolo/src/worker.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/candle-wasm-examples/yolo/Cargo.toml b/candle-wasm-examples/yolo/Cargo.toml index 9c697fd1..3d8e0a07 100644 --- a/candle-wasm-examples/yolo/Cargo.toml +++ b/candle-wasm-examples/yolo/Cargo.toml @@ -9,8 +9,8 @@ categories.workspace = true license.workspace = true [dependencies] -candle = { path = "../../candle-core", version = "0.3.1", package = "candle-core" } -candle-nn = { path = "../../candle-nn", version = "0.3.1" } +candle = { path = "../../candle-core", version = "0.3.2", package = "candle-core" } +candle-nn = { path = "../../candle-nn", version = "0.3.2" } num-traits = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/candle-wasm-examples/yolo/src/app.rs b/candle-wasm-examples/yolo/src/app.rs index 0df61f0f..3a88a5f1 100644 --- a/candle-wasm-examples/yolo/src/app.rs +++ b/candle-wasm-examples/yolo/src/app.rs @@ -146,7 +146,7 @@ impl Component for App { fn update(&mut self, ctx: &Context<Self>, msg: Self::Message) -> bool { match msg { Msg::SetModel(md) => { - self.status = "weights loaded succesfully!".to_string(); + self.status = "weights loaded successfully!".to_string(); self.loaded = true; console_log!("loaded weights"); self.worker.send(WorkerInput::ModelData(md)); diff --git a/candle-wasm-examples/yolo/src/worker.rs b/candle-wasm-examples/yolo/src/worker.rs index 5733a3fd..1ecef341 100644 --- a/candle-wasm-examples/yolo/src/worker.rs +++ b/candle-wasm-examples/yolo/src/worker.rs @@ -21,7 +21,7 @@ macro_rules! console_log { } // Communication to the worker happens through bincode, the model weights and configs are fetched -// on the main thread and transfered via the following structure. +// on the main thread and transferred via the following structure. #[derive(Serialize, Deserialize)] pub struct ModelData { pub weights: Vec<u8>, |