Spaces:
Running
Running
Update README.md
Browse files- examples/main/README.md +9 -2
examples/main/README.md
CHANGED
|
@@ -6,21 +6,28 @@ It can be used as a reference for using the `whisper.cpp` library in other proje
|
|
| 6 |
```
|
| 7 |
./main -h
|
| 8 |
|
| 9 |
-
usage: ./main [options] file0.wav file1.wav ...
|
| 10 |
|
| 11 |
options:
|
| 12 |
-h, --help show this help message and exit
|
| 13 |
-s SEED, --seed SEED RNG seed (default: -1)
|
| 14 |
-t N, --threads N number of threads to use during computation (default: 4)
|
| 15 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
-v, --verbose verbose output
|
| 17 |
--translate translate from source language to english
|
| 18 |
-otxt, --output-txt output result in a text file
|
| 19 |
-ovtt, --output-vtt output result in a vtt file
|
| 20 |
-osrt, --output-srt output result in a srt file
|
|
|
|
| 21 |
-ps, --print_special print special tokens
|
|
|
|
| 22 |
-nt, --no_timestamps do not print timestamps
|
| 23 |
-l LANG, --language LANG spoken language (default: en)
|
| 24 |
-m FNAME, --model FNAME model path (default: models/ggml-base.en.bin)
|
| 25 |
-f FNAME, --file FNAME input WAV file path
|
|
|
|
| 26 |
```
|
|
|
|
| 6 |
```
|
| 7 |
./main -h
|
| 8 |
|
| 9 |
+
usage: ./bin/main [options] file0.wav file1.wav ...
|
| 10 |
|
| 11 |
options:
|
| 12 |
-h, --help show this help message and exit
|
| 13 |
-s SEED, --seed SEED RNG seed (default: -1)
|
| 14 |
-t N, --threads N number of threads to use during computation (default: 4)
|
| 15 |
+
-p N, --processors N number of processors to use during computation (default: 1)
|
| 16 |
+
-ot N, --offset-t N time offset in milliseconds (default: 0)
|
| 17 |
+
-on N, --offset-n N segment index offset (default: 0)
|
| 18 |
+
-mc N, --max-context N maximum number of text context tokens to store (default: max)
|
| 19 |
+
-wt N, --word-thold N word timestamp probability threshold (default: 0.010000)
|
| 20 |
-v, --verbose verbose output
|
| 21 |
--translate translate from source language to english
|
| 22 |
-otxt, --output-txt output result in a text file
|
| 23 |
-ovtt, --output-vtt output result in a vtt file
|
| 24 |
-osrt, --output-srt output result in a srt file
|
| 25 |
+
-owts, --output-words output word-level timestamps to a text file
|
| 26 |
-ps, --print_special print special tokens
|
| 27 |
+
-pc, --print_colors print colors
|
| 28 |
-nt, --no_timestamps do not print timestamps
|
| 29 |
-l LANG, --language LANG spoken language (default: en)
|
| 30 |
-m FNAME, --model FNAME model path (default: models/ggml-base.en.bin)
|
| 31 |
-f FNAME, --file FNAME input WAV file path
|
| 32 |
+
|
| 33 |
```
|