Lauler commited on
Commit
57f78a7
1 Parent(s): ba2d525

set audio_column to audio instead of path

Browse files

The 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.

Files changed (1) hide show
  1. nst.py +1 -1
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="path", transcription_column="text")
95
  ],
96
  )
97
 
 
91
  supervised_keys=None,
92
  homepage=_URL,
93
  task_templates=[
94
+ AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")
95
  ],
96
  )
97