Update startimes_luganda_recording.py
Browse files
startimes_luganda_recording.py
CHANGED
@@ -64,10 +64,8 @@ class StartimesLugandaRecording(datasets.GeneratorBasedBuilder):
|
|
64 |
audio_urls = {}
|
65 |
audio_urls["train"] = []
|
66 |
for speaker, dates in _DATASET_DICT.items():
|
67 |
-
url_list = []
|
68 |
for date in dates:
|
69 |
-
|
70 |
-
audio_urls["train"].extend(url_list)
|
71 |
archive_paths = dl_manager.download(audio_urls)
|
72 |
local_extracted_archive_paths = (
|
73 |
dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|
|
|
64 |
audio_urls = {}
|
65 |
audio_urls["train"] = []
|
66 |
for speaker, dates in _DATASET_DICT.items():
|
|
|
67 |
for date in dates:
|
68 |
+
audio_urls["train"].append(f"{_DATA_URL}/{date}-{speaker}.tar")
|
|
|
69 |
archive_paths = dl_manager.download(audio_urls)
|
70 |
local_extracted_archive_paths = (
|
71 |
dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|