Update mscoco_jsonl_full.py
Browse files- mscoco_jsonl_full.py +1 -1
mscoco_jsonl_full.py
CHANGED
@@ -58,7 +58,7 @@ class ImageCaptionsEmbeddings(datasets.GeneratorBasedBuilder):
|
|
58 |
]
|
59 |
|
60 |
def _generate_examples(self, filepath):
|
61 |
-
for data_file in
|
62 |
with open(data_file, "r") as input_file:
|
63 |
for line in input_file:
|
64 |
|
|
|
58 |
]
|
59 |
|
60 |
def _generate_examples(self, filepath):
|
61 |
+
for data_file in filepath:
|
62 |
with open(data_file, "r") as input_file:
|
63 |
for line in input_file:
|
64 |
|