ProgramComputer
commited on
Commit
•
b6acc06
1
Parent(s):
cb3f959
Update test.py
Browse files
test.py
CHANGED
@@ -206,7 +206,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
206 |
["audio1", "audio2"] if self.config.name == "audio" else [self.config.name]
|
207 |
)
|
208 |
|
209 |
-
|
210 |
def download_custom(placeholder_url, path):
|
211 |
nonlocal dl_manager
|
212 |
sources = _PLACEHOLDER_MAPS[placeholder_url]
|
@@ -296,7 +296,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
296 |
for placeholder_key in ("dev",)
|
297 |
)
|
298 |
)
|
299 |
-
|
300 |
mapped_paths = {"dev":{}}
|
301 |
for key,value in tmp_paths["dev"].items():
|
302 |
with open(value[0], "wb") as out:
|
|
|
206 |
["audio1", "audio2"] if self.config.name == "audio" else [self.config.name]
|
207 |
)
|
208 |
|
209 |
+
|
210 |
def download_custom(placeholder_url, path):
|
211 |
nonlocal dl_manager
|
212 |
sources = _PLACEHOLDER_MAPS[placeholder_url]
|
|
|
296 |
for placeholder_key in ("dev",)
|
297 |
)
|
298 |
)
|
299 |
+
|
300 |
mapped_paths = {"dev":{}}
|
301 |
for key,value in tmp_paths["dev"].items():
|
302 |
with open(value[0], "wb") as out:
|