]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
readme : clarify main and stream usage (#391)
authorIan Bicking <redacted>
Sun, 8 Jan 2023 18:18:41 +0000 (12:18 -0600)
committerGitHub <redacted>
Sun, 8 Jan 2023 18:18:41 +0000 (20:18 +0200)
Give an example of ./main that uses a sample file that's already there, and make the stream example clarify you need `make stream`

README.md

index 334763814cfbb78a3ac9602f2456e84fc44321d0..f22724a5054bad9f0fad986167a2bd9d44254d8c 100644 (file)
--- 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
 ```