Update letras-carnaval-cadiz.py
Browse files- letras-carnaval-cadiz.py +2 -2
letras-carnaval-cadiz.py
CHANGED
@@ -85,8 +85,8 @@ class CadizCarnivalDataset(GeneratorBasedBuilder):
|
|
85 |
return [SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["midaccurate"]})]
|
86 |
else: # Default is "all"
|
87 |
return [
|
88 |
-
SplitGenerator(name=datasets.Split
|
89 |
-
SplitGenerator(name=datasets.Split
|
90 |
]
|
91 |
|
92 |
def _generate_examples(self, filepath: str):
|
|
|
85 |
return [SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["midaccurate"]})]
|
86 |
else: # Default is "all"
|
87 |
return [
|
88 |
+
SplitGenerator(name=datasets.Split("accurate"), gen_kwargs={"filepath": downloaded_files["accurate"]}),
|
89 |
+
SplitGenerator(name=datasets.Split("midaccurate"), gen_kwargs={"filepath": downloaded_files["midaccurate"]})
|
90 |
]
|
91 |
|
92 |
def _generate_examples(self, filepath: str):
|