HugoLaurencon eveland commited on
Commit
238d5b8
1 Parent(s): 8f48036

Bugfix: `medium` and `large` have 0 rows (#1)

Browse files

- Bugfix: `medium` and `large` have 0 rows (718d372f160d8ef075e53126c4fbd7eaadcb3664)


Co-authored-by: Christopher Eveland <eveland@users.noreply.huggingface.co>

Files changed (1) hide show
  1. libri_light.py +1 -1
libri_light.py CHANGED
@@ -145,7 +145,7 @@ class LibriLight(datasets.GeneratorBasedBuilder):
145
  ]
146
 
147
  def _generate_examples(self, archive_path):
148
- paths = glob.glob(os.path.join(archive_path, "small", "**", "**", "*.flac"))
149
  for key, path in enumerate(paths):
150
  path_split = path.split("/")
151
  id_ = path_split[-1].replace(".flac", "")
 
145
  ]
146
 
147
  def _generate_examples(self, archive_path):
148
+ paths = glob.glob(os.path.join(archive_path, self.config.name, "**", "**", "*.flac"))
149
  for key, path in enumerate(paths):
150
  path_split = path.split("/")
151
  id_ = path_split[-1].replace(".flac", "")