darkproger
commited on
Commit
•
87396e4
1
Parent(s):
68a0705
Update librispeech_asr.py
Browse files- librispeech_asr.py +1 -1
librispeech_asr.py
CHANGED
@@ -139,7 +139,7 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
139 |
audio_file = f"{id_}.flac"
|
140 |
speaker_id, chapter_id = [int(el) for el in id_.split("-")[:2]]
|
141 |
audio_file = (
|
142 |
-
str(Path(path).parent / audio_file)
|
143 |
if local_extracted_archive
|
144 |
else audio_file
|
145 |
)
|
|
|
139 |
audio_file = f"{id_}.flac"
|
140 |
speaker_id, chapter_id = [int(el) for el in id_.split("-")[:2]]
|
141 |
audio_file = (
|
142 |
+
str(local_extracted_archive / Path(path).parent / audio_file)
|
143 |
if local_extracted_archive
|
144 |
else audio_file
|
145 |
)
|