Datasets:

Languages:
Polish
Multilinguality:
monolingual
Annotations Creators:
expert-generated
Tags:
License:
j-krzywdziak commited on
Commit
3c6fe11
1 Parent(s): 7665caf

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -120,6 +120,6 @@ class TestASR(datasets.GeneratorBasedBuilder):
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"] = {"bytes":f.read()}
124
  yield id_, result
125
  id_ +=1
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