Spaces:
Running
Running
Ian Bicking
commited on
readme : clarify main and stream usage (#391)
Browse filesGive 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
CHANGED
|
@@ -71,7 +71,7 @@ Now build the [main](examples/main) example and transcribe an audio file like th
|
|
| 71 |
make
|
| 72 |
|
| 73 |
# transcribe an audio file
|
| 74 |
-
./main -f
|
| 75 |
```
|
| 76 |
|
| 77 |
---
|
|
@@ -307,6 +307,7 @@ The [stream](examples/stream) tool samples the audio every half a second and run
|
|
| 307 |
More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
|
| 308 |
|
| 309 |
```java
|
|
|
|
| 310 |
./stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
|
| 311 |
```
|
| 312 |
|
|
|
|
| 71 |
make
|
| 72 |
|
| 73 |
# transcribe an audio file
|
| 74 |
+
./main -f samples/jfk.wav
|
| 75 |
```
|
| 76 |
|
| 77 |
---
|
|
|
|
| 307 |
More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
|
| 308 |
|
| 309 |
```java
|
| 310 |
+
make stream
|
| 311 |
./stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
|
| 312 |
```
|
| 313 |
|