Spaces:
Running
Running
Samuel Durante
commited on
readme : fix real-time audio input example build instructions (#2692)
Browse files
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
|