phongdtd commited on
Commit
8b68763
·
1 Parent(s): 7588a0b

[Update] Update

Browse files
Files changed (1) hide show
  1. custom_common_voice.py +2 -1
custom_common_voice.py CHANGED
@@ -177,7 +177,6 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
177
  examples[audio_path] = {
178
  "file_path": audio_path,
179
  "script": script,
180
- "abc": abc
181
  }
182
 
183
  inside_clips_dir = False
@@ -189,6 +188,8 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
189
  yield path, {**examples[path], "audio": audio}
190
  elif "custom_common_voice.tsv" in path:
191
  continue
 
 
192
  elif inside_clips_dir:
193
  break
194
 
 
177
  examples[audio_path] = {
178
  "file_path": audio_path,
179
  "script": script,
 
180
  }
181
 
182
  inside_clips_dir = False
 
188
  yield path, {**examples[path], "audio": audio}
189
  elif "custom_common_voice.tsv" in path:
190
  continue
191
+ elif ".txt" in path:
192
+ continue
193
  elif inside_clips_dir:
194
  break
195