[email protected]
commited on
Commit
•
691b104
1
Parent(s):
75c9229
fix
Browse files- Cylonix_ASR_dataset.py +2 -2
Cylonix_ASR_dataset.py
CHANGED
@@ -177,8 +177,8 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
177 |
with open(meta_path, encoding="utf-8") as f:
|
178 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
179 |
for row in tqdm(reader, desc="Reading metadata..."):
|
180 |
-
if not row["path"].endswith(".wav"):
|
181 |
-
|
182 |
# accent -> accents in CV 8.0
|
183 |
if "accents" in row:
|
184 |
row["accent"] = row["accents"]
|
|
|
177 |
with open(meta_path, encoding="utf-8") as f:
|
178 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
179 |
for row in tqdm(reader, desc="Reading metadata..."):
|
180 |
+
# if not row["path"].endswith(".wav"):
|
181 |
+
# row["path"] += ".wav"
|
182 |
# accent -> accents in CV 8.0
|
183 |
if "accents" in row:
|
184 |
row["accent"] = row["accents"]
|