Datasets:

ArXiv:
License:
Anjaly commited on
Commit
332118d
1 Parent(s): 727b8d6
Files changed (1) hide show
  1. 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": audio_data}
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