pain commited on
Commit
68570a4
·
1 Parent(s): 759dd7b

Update mscoco_jsonl_full.py

Browse files
Files changed (1) hide show
  1. 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 data_files:
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