KELONMYOSA
commited on
Commit
•
6d3f4f4
1
Parent(s):
83bcf6c
added url
Browse files
dusha.py
CHANGED
@@ -39,8 +39,8 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
39 |
return [datasets.SplitGenerator(
|
40 |
name=datasets.Split.ALL,
|
41 |
gen_kwargs={
|
42 |
-
"audio_files":
|
43 |
-
"metadata":
|
44 |
)]
|
45 |
|
46 |
def _generate_examples(self, audio_files: Union[str, os.PathLike], metadata: str):
|
|
|
39 |
return [datasets.SplitGenerator(
|
40 |
name=datasets.Split.ALL,
|
41 |
gen_kwargs={
|
42 |
+
"audio_files": dl_manager.iter_archive(archive),
|
43 |
+
"metadata": metadata},
|
44 |
)]
|
45 |
|
46 |
def _generate_examples(self, audio_files: Union[str, os.PathLike], metadata: str):
|