- Fixing split generation
Browse files
dv-presidential-speech.py
CHANGED
@@ -113,7 +113,7 @@ class DhivehiPresidentialSpeech(datasets.GeneratorBasedBuilder):
|
|
113 |
gen_kwargs={
|
114 |
'local_extracted_archive': local_extracted_archive[split],
|
115 |
'audio_files': dl_manager.iter_archive(audio_path[split]),
|
116 |
-
'metadata_path':
|
117 |
'path_to_clips': f'{path_to_clips}-{split}/waves',
|
118 |
},
|
119 |
) for split in split_type
|
|
|
113 |
gen_kwargs={
|
114 |
'local_extracted_archive': local_extracted_archive[split],
|
115 |
'audio_files': dl_manager.iter_archive(audio_path[split]),
|
116 |
+
'metadata_path': metadata_path[split],
|
117 |
'path_to_clips': f'{path_to_clips}-{split}/waves',
|
118 |
},
|
119 |
) for split in split_type
|