davidlms commited on
Commit
297ff4d
1 Parent(s): ce254e3

Update letras-carnaval-cadiz.py

Browse files
Files changed (1) hide show
  1. letras-carnaval-cadiz.py +1 -1
letras-carnaval-cadiz.py CHANGED
@@ -96,7 +96,7 @@ class CadizCarnivalDataset(GeneratorBasedBuilder):
96
  json.dump(data_all, temp_file)
97
  temp_filepath = temp_file.name
98
 
99
- return [SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"data": temp_filepath})]
100
 
101
  def _generate_examples(self, filepath: str):
102
  with open(filepath, encoding="utf-8") as f:
 
96
  json.dump(data_all, temp_file)
97
  temp_filepath = temp_file.name
98
 
99
+ return [SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": temp_filepath})]
100
 
101
  def _generate_examples(self, filepath: str):
102
  with open(filepath, encoding="utf-8") as f: