Remove deprecated tasks (#8)
Browse files- Remove deprecated tasks (4d0af3b19631b6750a790210f6d7e1ca9950f3c9)
- arabic_speech_corpus.py +0 -2
arabic_speech_corpus.py
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
| 23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
@@ -93,7 +92,6 @@ class ArabicSpeechCorpus(datasets.GeneratorBasedBuilder):
|
|
| 93 |
supervised_keys=("file", "text"),
|
| 94 |
homepage=_URL,
|
| 95 |
citation=_CITATION,
|
| 96 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
| 97 |
)
|
| 98 |
|
| 99 |
def _split_generators(self, dl_manager):
|
|
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
_CITATION = """\
|
|
|
|
| 92 |
supervised_keys=("file", "text"),
|
| 93 |
homepage=_URL,
|
| 94 |
citation=_CITATION,
|
|
|
|
| 95 |
)
|
| 96 |
|
| 97 |
def _split_generators(self, dl_manager):
|