readme : fix real-time audio input example build instructions (#2692)

This commit is contained in:
Samuel Durante 2025-01-02 07:05:38 -03:00 committed by GitHub
parent c81b8b910b
commit fb36a1538a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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).
```bash
cmake -B build
cmake -B build -DWHISPER_SDL2=ON
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