summaryrefslogtreecommitdiff
path: root/candle-book
diff options
context:
space:
mode:
authorPatrick von Platen <patrick.v.platen@gmail.com>2023-08-23 09:05:07 +0000
committerPatrick von Platen <patrick.v.platen@gmail.com>2023-08-23 09:05:07 +0000
commit649202024c2ec8b771fd7c554f698dc2f58ba51b (patch)
tree2f465e5205b66b1072de7253a4384444e3b91c1a /candle-book
parent283f6c048d0fdd39b7bd67422481766882bd4857 (diff)
downloadcandle-649202024c2ec8b771fd7c554f698dc2f58ba51b.tar.gz
candle-649202024c2ec8b771fd7c554f698dc2f58ba51b.tar.bz2
candle-649202024c2ec8b771fd7c554f698dc2f58ba51b.zip
fix code snippets
Diffstat (limited to 'candle-book')
-rw-r--r--candle-book/src/guide/installation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/candle-book/src/guide/installation.md b/candle-book/src/guide/installation.md
index 58bf7054..56d73ad3 100644
--- a/candle-book/src/guide/installation.md
+++ b/candle-book/src/guide/installation.md
@@ -25,7 +25,7 @@ cd myapp
Make sure to add the `candle-core` crate with the cuda feature:
-```
+```bash
cargo add --git https://github.com/huggingface/candle.git candle-core --features "cuda"
```
@@ -47,7 +47,7 @@ cargo add --git https://github.com/huggingface/candle.git candle-core
Finally, run `cargo build` to make sure everything can be correctly built.
-```
+```bash
cargo run
```