Spaces:
Running
Running
Update README.md
Browse files
examples/whisper.wasm/README.md
CHANGED
|
@@ -25,3 +25,19 @@ audio is limited to 120 seconds.
|
|
| 25 |
Link: https://whisper.ggerganov.com
|
| 26 |
|
| 27 |

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
Link: https://whisper.ggerganov.com
|
| 26 |
|
| 27 |

|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
## Build instructions
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
# build using Emscripten
|
| 34 |
+
git clone https://github.com/ggerganov/whisper.cpp
|
| 35 |
+
cd whisper.cpp
|
| 36 |
+
mkdir build-em && cd build-em
|
| 37 |
+
emcmake cmake ..
|
| 38 |
+
make -j
|
| 39 |
+
|
| 40 |
+
# copy the produced page to your HTTP path
|
| 41 |
+
cp bin/whisper.wasm/index.html /path/to/html/
|
| 42 |
+
cp bin/whisper.wasm/whisper.js /path/to/html/
|
| 43 |
+
cp bin/libwhisper.worker.js /path/to/html/
|