Changed path to data (hardcoded)
Browse files- common_voice_bn.py +7 -4
common_voice_bn.py
CHANGED
@@ -168,10 +168,13 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
168 |
dl_manager.extract(archive_path) if not dl_manager.is_streaming else None
|
169 |
)
|
170 |
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
|
|
|
|
175 |
path_to_clips = "/".join([path_to_data, "clips"]) if path_to_data else "clips"
|
176 |
|
177 |
# we provide our custom csvs with the huggingface repo so,
|
|
|
168 |
dl_manager.extract(archive_path) if not dl_manager.is_streaming else None
|
169 |
)
|
170 |
|
171 |
+
path_to_data = "/".join(["cv-corpus-9.0-2022-04-27", "bn"])
|
172 |
+
|
173 |
+
# if self.config.version < datasets.Version("5.0.0"):
|
174 |
+
# path_to_data = ""
|
175 |
+
|
176 |
+
# else:
|
177 |
+
# path_to_data = "/".join([bundle_version, self.config.name])
|
178 |
path_to_clips = "/".join([path_to_data, "clips"]) if path_to_data else "clips"
|
179 |
|
180 |
# we provide our custom csvs with the huggingface repo so,
|