Skip to content

Commit 877d9cf

Browse files
authored
Add WASM build guide and browser test demo (#77)
* Add WASM build guide and browser test demo * Do not change original format in readme
1 parent 81fc179 commit 877d9cf

5 files changed

Lines changed: 763 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<br>
2222

2323
## Latest News 🔥
24+
- [2025/11] **WASM** build guide and browser test demo are now available in `lib/Web` and `examples`.
2425
- [2025/11] We supported **Python** inference with **ONNX model** on **Linux**, **macOS** thanks to [Guy Nicholson](https://github.com/guynich)!
2526
- [2025/11] We supported **Golang** on **Linux**, **macOS** and **Windows** with usage of the prebuilt-libs thanks to [hylarucoder](https://github.com/hylarucoder)!
2627
- [2025/11] We supported **Java** on **Linux**, **macOS**, **Windows**, **Android** with usage of the prebuilt-libs thanks to [ZhangYang(arthasking123)](https://github.com/arthasking123)!
@@ -48,7 +49,6 @@
4849
- [Python Usage](#python-usage)
4950
- [Linux / macOS / Windows](#1-linux--macos--windows)
5051
- [JS Usage](#js-usage)
51-
- [Web](#1-web)
5252
- [Java Usage](#java-usage)
5353
- [Go (Golang) Usage](#go-golang-usage)
5454
- [C Usage](#c-usage)
@@ -400,18 +400,22 @@ You can check the official **ONNX Runtime releases** from [this website](https:/
400400

401401
### **JS Usage**
402402

403-
#### **1. Web**
404-
405403
##### **Requirements**
406404

407405
- Node.js (macOS v14.18.2, Linux v16.20.2 verified)
408406
- Terminal
407+
- Browser
409408

410409
##### **Usage**
411410

412411
```
412+
Terminal
413413
1) cd ./examples
414414
2) node test_node.js s0724-s0730.wav out.txt
415+
416+
Browser
417+
1) python3 -m http.server 8000
418+
2) Open browser and navigate to http://localhost:8000/examples/test_browser.html
415419
```
416420

417421
<br>

examples/sample_array.js

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)