From dd02f589c095790f980cc8fb84f411d67b7e3c21 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Mon, 14 Aug 2023 11:09:48 +0200 Subject: Better training+hub --- candle-datasets/src/hub.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'candle-datasets') diff --git a/candle-datasets/src/hub.rs b/candle-datasets/src/hub.rs index 53fa8156..c00a788c 100644 --- a/candle-datasets/src/hub.rs +++ b/candle-datasets/src/hub.rs @@ -22,7 +22,7 @@ fn sibling_to_parquet( repo: &ApiRepo, ) -> Result, Error> { let local = repo.get(rfilename)?; - let file = File::open(&local)?; + let file = File::open(local)?; let reader = SerializedFileReader::new(file)?; Ok(reader) } -- cgit v1.2.3