Expand description
Whisper model download and setup functions.
Handles downloading GGML model files from HuggingFace and verifying their integrity before use.
Functionsยง
- download_
model - Downloads the whisper GGML model from HuggingFace with a progress bar.
- get_
model_ path - Returns the filesystem path where the whisper model file should be stored.
- is_
whisper_ ready - Returns
trueif the whisper model file exists and is valid (> 1MB). - setup_
whisper - Ensures the whisper model is present and valid, downloading it if necessary.