This way, we can share the same models across different WASM examples
and not have to download them for each page
This commit is contained in:
Georgi Gerganov
2022-11-24 18:24:06 +02:00
parent a2ecd54455
commit abce28ea99
5 changed files with 27 additions and 11 deletions

View File

@ -26,10 +26,9 @@ Link: https://whisper.ggerganov.com
![image](https://user-images.githubusercontent.com/1991296/197348344-1a7fead8-3dae-4922-8b06-df223a206603.png)
## Build instructions
```bash
```bash (v3.1.2)
# build using Emscripten
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
@ -41,3 +40,4 @@ make -j
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/
```