jbloom commited on
Commit
a4bd7d7
·
1 Parent(s): 6ca06f3

update path determination

Browse files
Files changed (1) hide show
  1. GBI-16-4D.py +3 -3
GBI-16-4D.py CHANGED
@@ -86,9 +86,9 @@ class GBI_16_4D(datasets.GeneratorBasedBuilder):
86
 
87
  ret = []
88
  base_path = dl_manager._base_path
89
- if base_path.startswith(datasets.config.HF_ENDPOINT):
90
- base_path = base_path[len(datasets.config.HF_ENDPOINT):].replace("/resolve/", "@", 1)
91
- base_path = "hf://" + base_path.lstrip("/")
92
  _, path = url_to_fs(base_path)
93
 
94
  for split in ["train", "test"]:
 
86
 
87
  ret = []
88
  base_path = dl_manager._base_path
89
+ #if base_path.startswith(datasets.config.HF_ENDPOINT):
90
+ # base_path = base_path[len(datasets.config.HF_ENDPOINT):].replace("/resolve/", "@", 1)
91
+ # base_path = "hf://" + base_path.lstrip("/")
92
  _, path = url_to_fs(base_path)
93
 
94
  for split in ["train", "test"]: