Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoleao052 authored Aug 7, 2024
1 parent 098a166 commit 6e194a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

- On **MacOS**, **Windows**, and **Ubuntu**, you can install the library with `npm install js-pytorch`.
- On **Windows**, if you run into an error, you might need to install the latest version of [Visual Studio](https://visualstudio.microsoft.com/downloads/?cid=learn-navbar-download-cta), including the "Desktop development with C++" workload.
- To run in the **Browser**, `npm install` the latest version of **js-pytorch**, and link the distribution files in your HTML file:
- To run in the **Browser**, `npm install` the latest version of **JS-PyTorch**, and link the distribution files in your HTML file:

```html
<script src="./node_modules/js-pytorch/dist/utils.js"></script>
Expand All @@ -99,6 +99,8 @@
</script>
```

- After that, you can use JS-PyTorch freely in any `<script>` in your HTML file.
-
## 3. Running it Yourself

### Simple Autograd Example:
Expand Down

0 comments on commit 6e194a9

Please sign in to comment.