[Update] Update
Browse files- custom_common_voice.py +2 -3
custom_common_voice.py
CHANGED
@@ -114,8 +114,8 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
|
|
114 |
"""Returns SplitGenerators."""
|
115 |
tsv_files = dl_manager.download(_PROMPTS_URLS)
|
116 |
archive = dl_manager.download(_DATA_URL)
|
117 |
-
path_to_data = "data_1"
|
118 |
-
path_to_clips = path_to_data + "
|
119 |
|
120 |
return [
|
121 |
datasets.SplitGenerator(
|
@@ -190,7 +190,6 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
|
|
190 |
|
191 |
# inside_clips_dir = False
|
192 |
|
193 |
-
assert False, ""
|
194 |
for path, f in audio_files:
|
195 |
if path.startswith(path_to_clips):
|
196 |
# inside_clips_dir = True
|
|
|
114 |
"""Returns SplitGenerators."""
|
115 |
tsv_files = dl_manager.download(_PROMPTS_URLS)
|
116 |
archive = dl_manager.download(_DATA_URL)
|
117 |
+
path_to_data = "content/data_1/"
|
118 |
+
path_to_clips = path_to_data + "audio"
|
119 |
|
120 |
return [
|
121 |
datasets.SplitGenerator(
|
|
|
190 |
|
191 |
# inside_clips_dir = False
|
192 |
|
|
|
193 |
for path, f in audio_files:
|
194 |
if path.startswith(path_to_clips):
|
195 |
# inside_clips_dir = True
|