set audio_column to audio instead of path
Browse filesThe task template in DatasetInfo specifies the audio_column as "path". This leads to an error when trying to load the dataset. Changed the audio_column to "audio" so that dataset can be loaded without datasets library complaining.
nst.py
CHANGED
|
@@ -91,7 +91,7 @@ class NSTDataset(datasets.GeneratorBasedBuilder):
|
|
| 91 |
supervised_keys=None,
|
| 92 |
homepage=_URL,
|
| 93 |
task_templates=[
|
| 94 |
-
AutomaticSpeechRecognition(audio_column="
|
| 95 |
],
|
| 96 |
)
|
| 97 |
|
|
|
|
| 91 |
supervised_keys=None,
|
| 92 |
homepage=_URL,
|
| 93 |
task_templates=[
|
| 94 |
+
AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")
|
| 95 |
],
|
| 96 |
)
|
| 97 |
|