polinaeterna commited on
Commit
d483850
·
1 Parent(s): 89c4cca

Update test-user.py

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