fixed the path
Browse files- librivox-indonesia.py +1 -1
librivox-indonesia.py
CHANGED
@@ -154,6 +154,6 @@ class LibriVoxIndonesia(datasets.GeneratorBasedBuilder):
|
|
154 |
path = os.path.join(local_extracted_archive, path) if local_extracted_archive else path
|
155 |
result["audio"] = {"path": path, "bytes": f.read()}
|
156 |
# set path to None if the audio file doesn't exist locally (i.e. in streaming mode)
|
157 |
-
result["path"] = path
|
158 |
yield id_, result
|
159 |
id_ += 1
|
|
|
154 |
path = os.path.join(local_extracted_archive, path) if local_extracted_archive else path
|
155 |
result["audio"] = {"path": path, "bytes": f.read()}
|
156 |
# set path to None if the audio file doesn't exist locally (i.e. in streaming mode)
|
157 |
+
result["path"] = path
|
158 |
yield id_, result
|
159 |
id_ += 1
|