yonatanbitton commited on
Commit
97747b2
1 Parent(s): 14cb1d8

Update winogavil.py

Browse files
Files changed (1) hide show
  1. winogavil.py +2 -2
winogavil.py CHANGED
@@ -93,8 +93,8 @@ class Winogavil(datasets.GeneratorBasedBuilder):
93
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
94
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
95
  data_dir = dl_manager.download_and_extract({
96
- "examples_csv": hf_hub_url("datasets/nlphuji/winogavil", filename="winogavil_dataset.csv"),
97
- "images_dir": hf_hub_url("datasets/nlphuji/winogavil", filename="winogavil_images.zip")
98
  })
99
 
100
  return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)]
 
93
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
94
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
95
  data_dir = dl_manager.download_and_extract({
96
+ "examples_csv": hf_hub_url(repo_id="nlphuji/winogavil", repo_type='dataset', filename="winogavil_dataset.csv"),
97
+ "images_dir": hf_hub_url(repo_id="nlphuji/winogavil", repo_type='dataset', filename="winogavil_images.zip")
98
  })
99
 
100
  return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)]