patrickramos
commited on
Commit
•
ca67dd1
1
Parent(s):
25091d4
Upload conceptual_captions.py with huggingface_hub
Browse files- conceptual_captions.py +2 -2
conceptual_captions.py
CHANGED
@@ -32,11 +32,11 @@ class ConceptualCaptions(datasets.GeneratorBasedBuilder):
|
|
32 |
)
|
33 |
|
34 |
def _split_generators(self, dl_manager):
|
35 |
-
dl_manager.download(_DATA_URL)
|
36 |
return [
|
37 |
datasets.SplitGenerator(
|
38 |
name=datasets.Split.TRAIN,
|
39 |
-
gen_kwargs={'file_path':
|
40 |
)
|
41 |
]
|
42 |
|
|
|
32 |
)
|
33 |
|
34 |
def _split_generators(self, dl_manager):
|
35 |
+
tars = dl_manager.download(_DATA_URL)
|
36 |
return [
|
37 |
datasets.SplitGenerator(
|
38 |
name=datasets.Split.TRAIN,
|
39 |
+
gen_kwargs={'file_path': tars}
|
40 |
)
|
41 |
]
|
42 |
|