system HF staff commited on
Commit
8f5ed28
1 Parent(s): d91f572

Update files from the datasets library (from 1.17.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.17.0

Files changed (1) hide show
  1. multilingual_librispeech.py +1 -1
multilingual_librispeech.py CHANGED
@@ -127,7 +127,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
127
  all_ids = []
128
  for path in all_ids_paths:
129
  with open(path, "r", encoding="utf-8") as f:
130
- all_ids += [l.strip() for l in f.readlines()]
131
 
132
  all_ids = set(all_ids)
133
 
 
127
  all_ids = []
128
  for path in all_ids_paths:
129
  with open(path, "r", encoding="utf-8") as f:
130
+ all_ids += [line.strip() for line in f.readlines()]
131
 
132
  all_ids = set(all_ids)
133