jamescalam lhoestq HF staff commited on
Commit
ae9e759
1 Parent(s): 784f684

Fix dataset preview (#1)

Browse files

- Fix dataset preview (4027e25b6d1a6af262984d3b932654bd785fa3fc)


Co-authored-by: Quentin Lhoest <[email protected]>

Files changed (1) hide show
  1. unsplash-25k-photos.py +1 -1
unsplash-25k-photos.py CHANGED
@@ -74,7 +74,7 @@ class Unsplash(datasets.GeneratorBasedBuilder):
74
  return [
75
  datasets.SplitGenerator(
76
  name=datasets.Split.TRAIN,
77
- gen_kwargs={"filepath": new_url+"/photos.tsv000"}
78
  ),
79
  ]
80
 
 
74
  return [
75
  datasets.SplitGenerator(
76
  name=datasets.Split.TRAIN,
77
+ gen_kwargs={"filepath": os.path.join(new_url, "photos.tsv000")}
78
  ),
79
  ]
80