developeranalyser
commited on
Commit
•
a5e6311
1
Parent(s):
9680643
Update train_data_v2.py
Browse files- train_data_v2.py +2 -2
train_data_v2.py
CHANGED
@@ -216,8 +216,8 @@ class Fleurs(datasets.GeneratorBasedBuilder):
|
|
216 |
|
217 |
for audio_path, audio_file in archive:
|
218 |
audio_filename = audio_path.split("/")[-1]
|
219 |
-
|
220 |
-
|
221 |
|
222 |
result = data[audio_filename]
|
223 |
extracted_audio_path = (
|
|
|
216 |
|
217 |
for audio_path, audio_file in archive:
|
218 |
audio_filename = audio_path.split("/")[-1]
|
219 |
+
if audio_filename not in data.keys():
|
220 |
+
continue
|
221 |
|
222 |
result = data[audio_filename]
|
223 |
extracted_audio_path = (
|