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 directory.

§Arguments

  • app - The Tauri app handle
  • model_name - Name of the model (e.g., “vosk-model-en-us-0.22”)