Skip to content

Commit

Permalink
add zh.wav ahd jfk.wav
Browse files Browse the repository at this point in the history
  • Loading branch information
litongjava committed Mar 11, 2024
1 parent 06537cb commit 0d17105
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
10 changes: 9 additions & 1 deletion distribute/docker/pure/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ test
```
docker run --rm \
-v "$(pwd)/models":/models \
-v "$(pwd)/jfk.wav":/jfk.wav \
-v "$(pwd)/samples/jfk.wav":/jfk.wav \
litongjava/whisper-cpp-server:1.0.0 /app/simplest -m /models/ggml-base.en.bin /jfk.wav
```

docker run --rm \
-v "$(pwd)/models":/models \
-v "$(pwd)/samples/zh.wav":/zh.wav \
litongjava/whisper-cpp-server:1.0.0 /app/simplest -m /models/ggml-base.en.bin /zh.wav
```
log
```
root@ping-Inspiron-3458:~/code/whisper-cpp-server# docker run --rm \
Expand Down
1 change: 1 addition & 0 deletions samples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
6 changes: 6 additions & 0 deletions samples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Audio samples

This folder contains various audio files used for testing.
If you want to quickly get some more samples, simply run `make samples`. This will download several public audio files and convert them to appropriate 16-bit WAV format using `ffmpeg`

https://github.com/ggerganov/whisper.cpp/blob/a09ce6e8899198015729ffc49ae10f67370906b1/Makefile#L104-L123
Binary file added samples/jfk.wav
Binary file not shown.
Binary file added samples/zh.wav
Binary file not shown.

0 comments on commit 0d17105

Please sign in to comment.