dareenharthi commited on
Commit
226660f
·
verified ·
1 Parent(s): 95bdde0

Update libritts_test.py

Browse files
Files changed (1) hide show
  1. libritts_test.py +1 -1
libritts_test.py CHANGED
@@ -151,7 +151,7 @@ class LibriTTSDataset(datasets.GeneratorBasedBuilder):
151
  if path.startswith(path_to_clips):
152
  inside_clips_dir = True
153
  if path in examples:
154
- audio = {"path": path, "array": f.read()}
155
  yield id_, {**examples[path], "audio": audio}
156
  id_ += 1
157
  elif inside_clips_dir:
 
151
  if path.startswith(path_to_clips):
152
  inside_clips_dir = True
153
  if path in examples:
154
+ audio = {"path": path, "bytes": f.read()}
155
  yield id_, {**examples[path], "audio": audio}
156
  id_ += 1
157
  elif inside_clips_dir: