anjalyjayakrishnan commited on
Commit
4c9d66c
1 Parent(s): 3ba7143

modified loading script

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -149,7 +149,7 @@ class Test(datasets.GeneratorBasedBuilder):
149
  data_df = pd.read_csv(f,sep=',')
150
  transcripts = []
151
  for index,row in data_df.iterrows():
152
- samplerate, audio_data = wavfile.read(row["path"])
153
  yield key, {
154
  "sentence": row["sentence"],
155
  "path": row["path"],
 
149
  data_df = pd.read_csv(f,sep=',')
150
  transcripts = []
151
  for index,row in data_df.iterrows():
152
+ samplerate, audio_data = wavfile.read('data/'+row["path"])
153
  yield key, {
154
  "sentence": row["sentence"],
155
  "path": row["path"],