Skip to main content

download_model_setup

Function download_model_setup 

Source
pub fn download_model_setup(
    model: &str,
    token: &str,
    site: Option<&str>,
    hf_token: Option<&str>,
    modelscope_api_token: Option<&str>,
) -> Result<PathBuf, DownloadError>
Expand description

Like download_model, with named hub tokens matching aria-engine setup.