mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-05-29 14:11:45 +02:00
readme : fix real-time audio input example build instructions (#2692)
This commit is contained in:
parent
c81b8b910b
commit
fb36a1538a
@ -381,9 +381,9 @@ The [stream](examples/stream) tool samples the audio every half a second and run
|
|||||||
More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
|
More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cmake -B build
|
cmake -B build -DWHISPER_SDL2=ON
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release
|
||||||
./build/bin/stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
|
./build/bin/whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
|
||||||
```
|
```
|
||||||
|
|
||||||
https://user-images.githubusercontent.com/1991296/194935793-76afede7-cfa8-48d8-a80f-28ba83be7d09.mp4
|
https://user-images.githubusercontent.com/1991296/194935793-76afede7-cfa8-48d8-a80f-28ba83be7d09.mp4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user