Skip to content

Commit 64c870f

Browse files
committed
Update README to include instructions for testing demos using Python's built-in HTTP server
1 parent b40fe93 commit 64c870f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

wasm/combined/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,17 @@ cd /path/to/sherpa-onnx/wasm/combined
103103

104104
This script will download necessary model files to the `assets/` directory.
105105

106+
## Testing the Demos
107+
108+
After building the module and setting up the models, you can test the demos using Python's built-in HTTP server:
109+
110+
```bash
111+
cd /path/to/sherpa-onnx/wasm/combined
112+
python3 -m http.server 8080
113+
```
114+
115+
Then navigate to http://localhost:8080/demos/ in your web browser to access the demos.
116+
106117
## Troubleshooting
107118

108119
- **Module load errors**: Ensure the WASM module is loaded before any other scripts

0 commit comments

Comments
 (0)