Datasets:
LIUM
/

sanchit-gandhi HF staff commited on
Commit
b0e20ca
1 Parent(s): 8758a83

Fix streaming mode bug

Browse files
Files changed (1) hide show
  1. tedlium.py +1 -1
tedlium.py CHANGED
@@ -331,7 +331,7 @@ class TedLium(datasets.GeneratorBasedBuilder):
331
  segment, sampling_rate = audio_data[transcript["fn"]]
332
  samples = _extract_audio_segment(
333
  segment,
334
- int(transcript["channel"]),
335
  float(transcript["start"]),
336
  float(transcript["end"]),
337
  )
 
331
  segment, sampling_rate = audio_data[transcript["fn"]]
332
  samples = _extract_audio_segment(
333
  segment,
334
+ sampling_rate,
335
  float(transcript["start"]),
336
  float(transcript["end"]),
337
  )