mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-23 22:42:27 +00:00
e19d7226f8
* feat: add model descriptions and usage * remove default model gallery * models: add embeddings and tts * docs: update table * docs: updates * images: cleanup pip cache after install * images: always run apt-get clean * ux: improve gRPC connection errors * ux: improve some messages * fix: fix coqui when no AudioPath is passed by * embedded: add more models * Add usage * Reorder table
18 lines
675 B
YAML
18 lines
675 B
YAML
name: whisper
|
|
backend: whisper
|
|
parameters:
|
|
model: ggml-whisper-base.bin
|
|
|
|
usage: |
|
|
## example audio file
|
|
wget --quiet --show-progress -O gb1.ogg https://upload.wikimedia.org/wikipedia/commons/1/1f/George_W_Bush_Columbia_FINAL.ogg
|
|
|
|
## Send the example audio file to the transcriptions endpoint
|
|
curl http://localhost:8080/v1/audio/transcriptions \
|
|
-H "Content-Type: multipart/form-data" \
|
|
-F file="@$PWD/gb1.ogg" -F model="whisper"
|
|
|
|
download_files:
|
|
- filename: "ggml-whisper-base.bin"
|
|
sha256: "60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe"
|
|
uri: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin" |