Datasets:
Remove deprecated tasks (#7)
Browse files- Remove deprecated tasks (af9f49baed0395e9d7b651972609e3f955a7a017)
- lj_speech.py +0 -2
lj_speech.py
CHANGED
|
@@ -21,7 +21,6 @@ import csv
|
|
| 21 |
import os
|
| 22 |
|
| 23 |
import datasets
|
| 24 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 25 |
|
| 26 |
|
| 27 |
_CITATION = """\
|
|
@@ -83,7 +82,6 @@ class LJSpeech(datasets.GeneratorBasedBuilder):
|
|
| 83 |
supervised_keys=("file", "text"),
|
| 84 |
homepage=_URL,
|
| 85 |
citation=_CITATION,
|
| 86 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
| 87 |
)
|
| 88 |
|
| 89 |
def _split_generators(self, dl_manager):
|
|
|
|
| 21 |
import os
|
| 22 |
|
| 23 |
import datasets
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
|
|
| 82 |
supervised_keys=("file", "text"),
|
| 83 |
homepage=_URL,
|
| 84 |
citation=_CITATION,
|
|
|
|
| 85 |
)
|
| 86 |
|
| 87 |
def _split_generators(self, dl_manager):
|