Fix dataset preview

#1
by lhoestq HF staff - opened
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