Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -96,6 +96,17 @@ main: total time = 908.15 ms
|
|
| 96 |
|
| 97 |
The command downloads the `base.en` model converted to custom `ggml` format and runs the inference on all `.wav` samples in the folder `samples`.
|
| 98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
If you want some extra audio samples to play with, simply run:
|
| 100 |
|
| 101 |
```
|
|
@@ -118,14 +129,7 @@ make medium
|
|
| 118 |
make large
|
| 119 |
```
|
| 120 |
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
Note that `whisper.cpp` runs only with 16-bit WAV files, so make sure to convert your input before running the tool.
|
| 124 |
-
For example, you can use `ffmpeg` like this:
|
| 125 |
-
|
| 126 |
-
```java
|
| 127 |
-
ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav
|
| 128 |
-
```
|
| 129 |
|
| 130 |
Here is another example of transcribing a [3:24 min speech](https://upload.wikimedia.org/wikipedia/commons/1/1f/George_W_Bush_Columbia_FINAL.ogg) in less than a minute, using `medium.en` model:
|
| 131 |
|
|
|
|
| 96 |
|
| 97 |
The command downloads the `base.en` model converted to custom `ggml` format and runs the inference on all `.wav` samples in the folder `samples`.
|
| 98 |
|
| 99 |
+
For detailed usage instructions, run: `./main -h`
|
| 100 |
+
|
| 101 |
+
Note that `whisper.cpp` currently runs only with 16-bit WAV files, so make sure to convert your input before running the tool.
|
| 102 |
+
For example, you can use `ffmpeg` like this:
|
| 103 |
+
|
| 104 |
+
```java
|
| 105 |
+
ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
## More audio samples
|
| 109 |
+
|
| 110 |
If you want some extra audio samples to play with, simply run:
|
| 111 |
|
| 112 |
```
|
|
|
|
| 129 |
make large
|
| 130 |
```
|
| 131 |
|
| 132 |
+
## Another example
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
Here is another example of transcribing a [3:24 min speech](https://upload.wikimedia.org/wikipedia/commons/1/1f/George_W_Bush_Columbia_FINAL.ogg) in less than a minute, using `medium.en` model:
|
| 135 |
|