Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 497 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 497 Bytes

wasi-whisper.cpp

How to build

$ export WASI_SDK=`pwd`/wasi-sdk
$ make

Download models

$ make download

Translate to 16 bit wav

$ ffmpeg -loglevel -0 -y -i samples.ogg -ar 16000 -ac 1 -c:a pcm_s16le samples.wav

Run with bls-runtime

$ bls-runtime --fs-root-path=`pwd` whisper.wasm --  -m models/ggml-base.en.bin -f samples/jfk.wav --print-colors

Lib file

The arhive file is in whisper.wasm.tar.gz, file name is libwhisper.a