Skip to content

Error in STT setup instructions for Download a STT model #617

@terrysimons

Description

@terrysimons

This text on https://speaches.ai/usage/speech-to-text/ is wrong:

export SPEACHES_BASE_URL="http://localhost:8000"

# Listing all available STT models
uvx speaches-cli registry ls --task automatic-speech-recognition | jq '.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"))'

Should be:

export SPEACHES_BASE_URL="http://localhost:8000"

# Listing all available STT (ASR) models
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 (note: ASR task, not TTS)
uvx speaches-cli model ls --task automatic-speech-recognition \
  | jq -r '.data[]? | select(.id == "Systran/faster-distil-whisper-small.en") | .id'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions