updated _generate_examples
Browse files- common_voice_bn.py +1 -1
common_voice_bn.py
CHANGED
@@ -174,7 +174,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
174 |
# if path_to_data
|
175 |
# else "train.tsv",
|
176 |
#custom train.tsv
|
177 |
-
"metadata_filepath": "/".join([
|
178 |
"path_to_clips": path_to_clips,
|
179 |
},
|
180 |
),
|
|
|
174 |
# if path_to_data
|
175 |
# else "train.tsv",
|
176 |
#custom train.tsv
|
177 |
+
"metadata_filepath": "/".join([path_to_tsvs, "train.tsv"]) if path_to_tsvs else "train.tsv",
|
178 |
"path_to_clips": path_to_clips,
|
179 |
},
|
180 |
),
|