Datasets:

Languages:
English
ArXiv:
License:

Remove deprecated tasks

#3
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. peoples_speech.py +0 -2
peoples_speech.py CHANGED
@@ -16,7 +16,6 @@ import json
16
  import os
17
 
18
  import datasets
19
- from datasets.tasks import AutomaticSpeechRecognition
20
  from tqdm.auto import tqdm
21
 
22
 
@@ -98,7 +97,6 @@ class PeoplesSpeech(datasets.GeneratorBasedBuilder):
98
  "text": datasets.Value("string"),
99
  }
100
  ),
101
- task_templates=[AutomaticSpeechRecognition()],
102
  supervised_keys=("file", "text"),
103
  homepage=_HOMEPAGE,
104
  license="/".join(_LICENSE), # license must be a string
 
16
  import os
17
 
18
  import datasets
 
19
  from tqdm.auto import tqdm
20
 
21
 
 
97
  "text": datasets.Value("string"),
98
  }
99
  ),
 
100
  supervised_keys=("file", "text"),
101
  homepage=_HOMEPAGE,
102
  license="/".join(_LICENSE), # license must be a string