Skip to main content

get_model_path

Function get_model_path 

Source
pub fn get_model_path<R: Runtime>(
    app: &AppHandle<R>,
    model_name: &str,
) -> Result<PathBuf, Error>
Expand description

Gets a specific model’s path.

§Arguments

  • app - The Tauri app handle
  • model_name - Name of the model file (e.g., “ggml-base.bin”)