Commit
•
b0e20ca
1
Parent(s):
8758a83
Fix streaming mode bug
Browse files- 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 |
-
|
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 |
)
|