summaryrefslogtreecommitdiff
path: root/candle-datasets
diff options
context:
space:
mode:
authorNicolas Patry <patry.nicolas@protonmail.com>2023-08-14 11:09:48 +0200
committerNicolas Patry <patry.nicolas@protonmail.com>2023-08-28 15:14:43 +0200
commitdd02f589c095790f980cc8fb84f411d67b7e3c21 (patch)
tree2b58c8f41cc18462b43eabf314a6a088f2a58df7 /candle-datasets
parent76023236677fbab10fd1c99eab95d268416fb941 (diff)
downloadcandle-dd02f589c095790f980cc8fb84f411d67b7e3c21.tar.gz
candle-dd02f589c095790f980cc8fb84f411d67b7e3c21.tar.bz2
candle-dd02f589c095790f980cc8fb84f411d67b7e3c21.zip
Better training+hub
Diffstat (limited to 'candle-datasets')
-rw-r--r--candle-datasets/src/hub.rs2
1 files changed, 1 insertions, 1 deletions
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<SerializedFileReader<File>, Error> {
let local = repo.get(rfilename)?;
- let file = File::open(&local)?;
+ let file = File::open(local)?;
let reader = SerializedFileReader::new(file)?;
Ok(reader)
}