j-krzywdziak commited on
Commit
9e5748c
1 Parent(s): 3c6fe11

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(local_extracted_archive, path) if local_extracted_archive else path
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(path, 'test')
123
  result["audio"] = {"path": path, "bytes":f.read()}
124
  yield id_, result
125
  id_ +=1