anjalyjayakrishnan commited on
Commit
41b1b57
1 Parent(s): 5a8a3ed
Files changed (1) hide show
  1. sample.py +1 -1
sample.py CHANGED
@@ -152,7 +152,7 @@ class Test(datasets.GeneratorBasedBuilder):
152
  data_df = pd.read_csv(f,sep=',')
153
  transcripts = []
154
  for index,row in data_df.iterrows():
155
- samplerate, audio_data = wavfile.read('data/'+row["path"])
156
  yield key, {
157
  "sentence": row["sentence"],
158
  "path": row["path"],
 
152
  data_df = pd.read_csv(f,sep=',')
153
  transcripts = []
154
  for index,row in data_df.iterrows():
155
+ samplerate, audio_data = wavfile.read(row["path"])
156
  yield key, {
157
  "sentence": row["sentence"],
158
  "path": row["path"],