From: Ian Bicking Date: Sun, 8 Jan 2023 18:18:41 +0000 (-0600) Subject: readme : clarify main and stream usage (#391) X-Git-Tag: upstream/1.7.4~1624 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5e9f33596fe360c435e76f4682f20c1079fcc5cd;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp readme : clarify main and stream usage (#391) Give an example of ./main that uses a sample file that's already there, and make the stream example clarify you need `make stream` --- diff --git a/README.md b/README.md index 33476381..f22724a5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Now build the [main](examples/main) example and transcribe an audio file like th make # transcribe an audio file -./main -f input.wav +./main -f samples/jfk.wav ``` --- @@ -307,6 +307,7 @@ 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). ```java +make stream ./stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000 ```