summaryrefslogtreecommitdiff
path: root/candle-wasm-examples/yolo/src
diff options
context:
space:
mode:
Diffstat (limited to 'candle-wasm-examples/yolo/src')
-rw-r--r--candle-wasm-examples/yolo/src/app.rs2
-rw-r--r--candle-wasm-examples/yolo/src/worker.rs2
2 files changed, 2 insertions, 2 deletions
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>,