polinaeterna commited on
Commit
b34c0b9
·
1 Parent(s): d2be5ee

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -119,7 +119,7 @@ class TestASR(datasets.GeneratorBasedBuilder):
119
  _, audio_name = os.path.split(path)
120
  if audio_name in metadata:
121
  result = dict(metadata[audio_name])
122
- path = os.path.join(path, 'test')
123
  result["audio"] = {"path": path, "bytes":f.read()}
124
  yield id_, result
125
  id_ +=1
 
119
  _, audio_name = os.path.split(path)
120
  if audio_name in metadata:
121
  result = dict(metadata[audio_name])
122
+ path = os.path.join('test', path)
123
  result["audio"] = {"path": path, "bytes":f.read()}
124
  yield id_, result
125
  id_ +=1