command : add demonstration video

This commit is contained in:
Georgi Gerganov 2022-11-25 20:23:58 +02:00
parent 0be27bbd92
commit 1246dd023e
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
2 changed files with 6 additions and 2 deletions

View File

@ -34,9 +34,11 @@ As an example, here is a video of running the model on an iPhone 13 device - ful
https://user-images.githubusercontent.com/1991296/197385372-962a6dea-bca1-4d50-bf96-1d8c27b98c81.mp4
Or you can even run it straight in the browser: [talk.wasm](examples/talk.wasm)
You can also easily make your own offline voice assistant application:
https://user-images.githubusercontent.com/1991296/203845553-f7b44e13-9a15-4fc8-b518-ae8f4c6770fe.mp4
https://user-images.githubusercontent.com/1991296/204038393-2f846eae-c255-4099-a76d-5735c25c49da.mp4
Or you can even run it straight in the browser: [talk.wasm](examples/talk.wasm)
## Implementation details

View File

@ -11,6 +11,8 @@ More info is available in [issue #171](https://github.com/ggerganov/whisper.cpp/
./command -m ./models/ggml-tiny.en.bin -ac 768 -t 4 -c 0
```
https://user-images.githubusercontent.com/1991296/204038393-2f846eae-c255-4099-a76d-5735c25c49da.mp4
## Building
The `command` tool depends on SDL2 library to capture audio from the microphone. You can build it like this: