ggerganov commited on
Commit
432646b
·
unverified ·
1 Parent(s): a6f9caa

Update README.md

Browse files
Files changed (1) hide show
  1. examples/whisper.wasm/README.md +16 -0
examples/whisper.wasm/README.md CHANGED
@@ -25,3 +25,19 @@ audio is limited to 120 seconds.
25
  Link: https://whisper.ggerganov.com
26
 
27
  ![image](https://user-images.githubusercontent.com/1991296/197348344-1a7fead8-3dae-4922-8b06-df223a206603.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  Link: https://whisper.ggerganov.com
26
 
27
  ![image](https://user-images.githubusercontent.com/1991296/197348344-1a7fead8-3dae-4922-8b06-df223a206603.png)
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/