nakkhatra commited on
Commit
f0eca56
1 Parent(s): 292ff66

Changed path to data (hardcoded)

Browse files
Files changed (1) hide show
  1. 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
- if self.config.version < datasets.Version("5.0.0"):
172
- path_to_data = ""
173
- else:
174
- path_to_data = "/".join([bundle_version, self.config.name])
 
 
 
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,