diff --git a/candle-examples/examples/helium/main.rs b/candle-examples/examples/helium/main.rs index 8cf63758c..31f949bf3 100644 --- a/candle-examples/examples/helium/main.rs +++ b/candle-examples/examples/helium/main.rs @@ -248,7 +248,7 @@ fn main() -> Result<()> { .split(',') .map(std::path::PathBuf::from) .collect::>(), - None => candle_examples::hub_load_safetensors(&repo, "model.safetensors")?, + None => vec![repo.get("model.safetensors")?], }; println!("retrieved the files in {:?}", start.elapsed()); let tokenizer = Tokenizer::from_file(tokenizer_filename).map_err(E::msg)?;