Update tedlium.py
#2
by
Basanth
- opened
- tedlium.py +2 -1
tedlium.py
CHANGED
@@ -241,7 +241,8 @@ class TedLium(datasets.GeneratorBasedBuilder):
|
|
241 |
homepage=self.config.url,
|
242 |
license=_LICENSE,
|
243 |
citation=self.config.citation,
|
244 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
|
|
245 |
)
|
246 |
|
247 |
def _split_generators(self, dl_manager):
|
|
|
241 |
homepage=self.config.url,
|
242 |
license=_LICENSE,
|
243 |
citation=self.config.citation,
|
244 |
+
# task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
245 |
+
task_templates=[AutomaticSpeechRecognition("audio", "text")],
|
246 |
)
|
247 |
|
248 |
def _split_generators(self, dl_manager):
|