cahya commited on
Commit
139df9d
·
1 Parent(s): 94c9c5f

change audio feature

Browse files
Files changed (1) hide show
  1. fleurs.py +2 -1
fleurs.py CHANGED
@@ -101,7 +101,8 @@ class Fleurs(datasets.GeneratorBasedBuilder):
101
  "id": datasets.Value("int32"),
102
  "num_samples": datasets.Value("int32"),
103
  "path": datasets.Value("string"),
104
- "audio": datasets.Audio(sampling_rate=48_000),
 
105
  "transcription": datasets.Value("string"),
106
  "raw_transcription": datasets.Value("string"),
107
  "lang_id": datasets.ClassLabel(names=langs),
 
101
  "id": datasets.Value("int32"),
102
  "num_samples": datasets.Value("int32"),
103
  "path": datasets.Value("string"),
104
+ # "audio": datasets.Audio(sampling_rate=48_000),
105
+ "audio": datasets.features.Audio(sampling_rate=48_000),
106
  "transcription": datasets.Value("string"),
107
  "raw_transcription": datasets.Value("string"),
108
  "lang_id": datasets.ClassLabel(names=langs),