Skip to main content

setup_whisper

Function setup_whisper 

Source
pub async fn setup_whisper(
    data_dir: &PathBuf,
    model_size: &ModelSize,
) -> Result<()>
Expand description

Ensures the whisper model is present and valid, downloading it if necessary.

If the model already exists and passes validation, this function returns immediately without downloading. Otherwise it calls download_model.