]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
readme : add shell command example for --print-colors (#710)
authorbocytko <redacted>
Fri, 14 Apr 2023 16:25:23 +0000 (18:25 +0200)
committerGitHub <redacted>
Fri, 14 Apr 2023 16:25:23 +0000 (19:25 +0300)
The section of the readme file explaining `--print-colors` includes only a screenshot with directories that are inconsistent with other examples. This commit adds an example shell command, consistent with the remaining examples.

README.md

index 8b5901f0fe6c26f7941d5a9ab629ed41bfa73ba4..708031e571b178ac96b7726b5003cbb83709efa9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -328,6 +328,10 @@ https://user-images.githubusercontent.com/1991296/194935793-76afede7-cfa8-48d8-a
 Adding the `--print-colors` argument will print the transcribed text using an experimental color coding strategy
 to highlight words with high or low confidence:
 
+```java
+./main -m models/ggml-base.en.bin -f samples/gb0.wav --print-colors
+```
+
 <img width="965" alt="image" src="https://user-images.githubusercontent.com/1991296/197356445-311c8643-9397-4e5e-b46e-0b4b4daa2530.png">
 
 ## Controlling the length of the generated text segments (experimental)