Skip to main content

get_model_path

Function get_model_path 

Source
pub fn get_model_path(data_dir: &PathBuf, model_size: &ModelSize) -> PathBuf
Expand description

Returns the filesystem path where the whisper model file should be stored.

Models are stored as ggml-{model_size}.bin inside the models/ subdirectory of the application data directory.