Datasets:
ArXiv:
License:
error fix
Browse files- snow-mountain.py +2 -2
snow-mountain.py
CHANGED
@@ -192,10 +192,10 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
192 |
transcripts = []
|
193 |
for index,row in data_df.iterrows():
|
194 |
downloaded_audio = dl_manager.download(row["path"])
|
195 |
-
samplerate, audio_data = wavfile.read(downloaded_audio)
|
196 |
yield key, {
|
197 |
"sentence": row["sentence"],
|
198 |
"path": row["path"],
|
199 |
-
"audio":{"path": row["path"], "bytes":
|
200 |
}
|
201 |
key+=1
|
|
|
192 |
transcripts = []
|
193 |
for index,row in data_df.iterrows():
|
194 |
downloaded_audio = dl_manager.download(row["path"])
|
195 |
+
# samplerate, audio_data = wavfile.read(downloaded_audio)
|
196 |
yield key, {
|
197 |
"sentence": row["sentence"],
|
198 |
"path": row["path"],
|
199 |
+
"audio":{"path": row["path"], "bytes": downloaded_audio}
|
200 |
}
|
201 |
key+=1
|