Skip to main content

Module setup

Module setup 

Source
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 true if the whisper model file exists and is valid (> 1MB).
setup_whisper
Ensures the whisper model is present and valid, downloading it if necessary.