]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
readme : fix real-time audio input example build instructions (#2692)
authorSamuel Durante <redacted>
Thu, 2 Jan 2025 10:05:38 +0000 (07:05 -0300)
committerGitHub <redacted>
Thu, 2 Jan 2025 10:05:38 +0000 (12:05 +0200)
README.md

index c268fd0cd2bbc38a41b82f1ddbc6f5e213cdb506..fb6fbe61842677b6c95ba38305ec87aff0ae830c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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