Update letras-carnaval-cadiz.py
Browse files- 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={"
|
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:
|