albertvillanova HF Staff commited on
Commit
bf14855
·
verified ·
1 Parent(s): 9e5748c

Fix audio path

Browse files
Files changed (1) hide show
  1. test.py +0 -1
test.py CHANGED
@@ -119,7 +119,6 @@ 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
  result["audio"] = {"path": path, "bytes":f.read()}
123
  yield id_, result
124
  id_ +=1