From 56707196733ea14b021133293b79867be7cd8fd1 Mon Sep 17 00:00:00 2001 From: eecczz <70041613+eecczz@users.noreply.github.com> Date: Wed, 13 May 2026 18:55:29 +0900 Subject: [PATCH] docs: fix model download examples --- docs/usage/speech-to-text.md | 5 +++-- docs/usage/text-to-speech.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/usage/speech-to-text.md b/docs/usage/speech-to-text.md index 0236883d..684d0e9f 100644 --- a/docs/usage/speech-to-text.md +++ b/docs/usage/speech-to-text.md @@ -15,13 +15,14 @@ TODO: add a note about vad export SPEACHES_BASE_URL="http://localhost:8000" # Listing all available STT models -uvx speaches-cli registry ls --task automatic-speech-recognition | jq '.data | [].id' +uvx speaches-cli registry ls --task automatic-speech-recognition | jq -r '.data[]?.id' # Downloading a Systran/faster-distil-whisper-small.en model uvx speaches-cli model download Systran/faster-distil-whisper-small.en # Check that the model has been installed -uvx speaches-cli model ls --task text-to-speech | jq '.data | map(select(.id == "Systran/faster-distil-whisper-small.en"))' +uvx speaches-cli model ls --task automatic-speech-recognition \ + | jq -r '.data[]? | select(.id == "Systran/faster-distil-whisper-small.en") | .id' ``` ## Usage diff --git a/docs/usage/text-to-speech.md b/docs/usage/text-to-speech.md index 15872953..33235ac8 100644 --- a/docs/usage/text-to-speech.md +++ b/docs/usage/text-to-speech.md @@ -8,13 +8,14 @@ export SPEACHES_BASE_URL="http://localhost:8000" # Listing all available TTS models -uvx speaches-cli registry ls --task text-to-speech | jq '.data | [].id' +uvx speaches-cli registry ls --task text-to-speech | jq -r '.data[]?.id' # Downloading a TTS model uvx speaches-cli model download speaches-ai/Kokoro-82M-v1.0-ONNX # Check that the model has been installed -uvx speaches-cli model ls --task text-to-speech | jq '.data | map(select(.id == "speaches-ai/Kokoro-82M-v1.0-ONNX"))' +uvx speaches-cli model ls --task text-to-speech \ + | jq -r '.data[]? | select(.id | contains("Kokoro-82M-v1.0-ONNX")) | .id' ``` ## Usage