Samuel Durante commited on
Commit
43720b1
·
unverified ·
1 Parent(s): e2f64bf

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

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -381,9 +381,9 @@ The [stream](examples/stream) tool samples the audio every half a second and run
381
  More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
382
 
383
  ```bash
384
- cmake -B build
385
  cmake --build build --config Release
386
- ./build/bin/stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
387
  ```
388
 
389
  https://user-images.githubusercontent.com/1991296/194935793-76afede7-cfa8-48d8-a80f-28ba83be7d09.mp4
 
381
  More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
382
 
383
  ```bash
384
+ cmake -B build -DWHISPER_SDL2=ON
385
  cmake --build build --config Release
386
+ ./build/bin/whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
387
  ```
388
 
389
  https://user-images.githubusercontent.com/1991296/194935793-76afede7-cfa8-48d8-a80f-28ba83be7d09.mp4