albertvillanova HF staff commited on
Commit
e906435
1 Parent(s): 026b1df

Remove deprecated tasks (#5)

Browse files

- Remove deprecated tasks (deff07c2ba5ed0eb48ddc67e1008ad32e1eb2bb1)

Files changed (1) hide show
  1. NPSC.py +0 -7
NPSC.py CHANGED
@@ -20,7 +20,6 @@ import io
20
  import json
21
  import tarfile
22
  import datasets
23
- from datasets.tasks import AutomaticSpeechRecognition
24
 
25
 
26
  _CITATION = """\
@@ -130,12 +129,6 @@ class Npsc(datasets.GeneratorBasedBuilder):
130
  supervised_keys=None,
131
  homepage=_HOMEPAGE,
132
  citation=_CITATION,
133
- task_templates=[
134
- AutomaticSpeechRecognition(
135
- audio_column="audio",
136
- transcription_column="sentence_text",
137
- )
138
- ],
139
  )
140
 
141
  def _split_generators(self, dl_manager):
 
20
  import json
21
  import tarfile
22
  import datasets
 
23
 
24
 
25
  _CITATION = """\
 
129
  supervised_keys=None,
130
  homepage=_HOMEPAGE,
131
  citation=_CITATION,
 
 
 
 
 
 
132
  )
133
 
134
  def _split_generators(self, dl_manager):