nakkhatra commited on
Commit
1179adf
1 Parent(s): 5dd05dc

updated _generate_examples

Browse files
Files changed (1) hide show
  1. 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([path_to_data, "train.tsv"]) if path_to_data else "train.tsv",
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
  ),