ggerganov commited on
Commit
7c459aa
·
unverified ·
1 Parent(s): d0e40a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -26,7 +26,7 @@ bash ./download-ggml-model.sh base.en
26
 
27
  For a quick demo, simply run `make base.en`:
28
 
29
- ```bash
30
  $ make base.en
31
 
32
  gcc -pthread -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
@@ -123,13 +123,13 @@ For detailed usage instructions, run: `./main -h`
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
- ```bash
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
 
132
- ```bash
133
  $ ./main -m models/ggml-medium.en.bin -f samples/gb1.wav -t 8
134
  whisper_model_load: loading model from 'models/ggml-medium.en.bin'
135
  whisper_model_load: n_vocab = 51864
 
26
 
27
  For a quick demo, simply run `make base.en`:
28
 
29
+ ```java
30
  $ make base.en
31
 
32
  gcc -pthread -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
 
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
 
132
+ ```java
133
  $ ./main -m models/ggml-medium.en.bin -f samples/gb1.wav -t 8
134
  whisper_model_load: loading model from 'models/ggml-medium.en.bin'
135
  whisper_model_load: n_vocab = 51864