davidlms commited on
Commit
3fa5c92
1 Parent(s): 69d34b7

Update letras-carnaval-cadiz.py

Browse files
Files changed (1) hide show
  1. 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.TRAIN, gen_kwargs={"filepath": downloaded_files["accurate"]}),
89
- SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["midaccurate"]})
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):