wasm : refactor wasm example + reuse fetch mechanism

This commit is contained in:
Georgi Gerganov
2022-11-24 23:13:26 +02:00
parent ff36415a86
commit e4805d9601
7 changed files with 264 additions and 379 deletions

View File

@@ -37,7 +37,6 @@ emcmake cmake ..
make -j
# copy the produced page to your HTTP path
cp bin/whisper.wasm/index.html /path/to/html/
cp bin/whisper.wasm/whisper.js /path/to/html/
cp bin/libwhisper.worker.js /path/to/html/
cp bin/whisper.wasm/* /path/to/html/
cp bin/libwhisper.worker.js /path/to/html/
```