update hit.py
Browse files
hit.py
CHANGED
@@ -119,8 +119,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
119 |
#data_urls = _BASE_URL + rel_path
|
120 |
|
121 |
url = _BASE_URL + "/hit_dataset.json"
|
122 |
-
|
123 |
-
file_structure = json.loads(response.content)
|
124 |
print(file_structure)
|
125 |
|
126 |
data_urls = {split: [os.path.join(gender, split, "*.gz")] for split in splits}
|
|
|
119 |
#data_urls = _BASE_URL + rel_path
|
120 |
|
121 |
url = _BASE_URL + "/hit_dataset.json"
|
122 |
+
file_structure = dl_manager.download_and_extract(url)
|
|
|
123 |
print(file_structure)
|
124 |
|
125 |
data_urls = {split: [os.path.join(gender, split, "*.gz")] for split in splits}
|