[email protected]
commited on
Commit
·
d6affe9
1
Parent(s):
b65524e
fi8x
Browse files- Cylonix_ASR_dataset.py +1 -0
Cylonix_ASR_dataset.py
CHANGED
@@ -169,6 +169,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
169 |
with open(meta_path, encoding="utf-8") as f:
|
170 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
171 |
for row in tqdm(reader, desc="Reading metadata..."):
|
|
|
172 |
if not row["path"].endswith(".wav"):
|
173 |
row["path"] += ".wav"
|
174 |
# accent -> accents in CV 8.0
|
|
|
169 |
with open(meta_path, encoding="utf-8") as f:
|
170 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
171 |
for row in tqdm(reader, desc="Reading metadata..."):
|
172 |
+
print(row)
|
173 |
if not row["path"].endswith(".wav"):
|
174 |
row["path"] += ".wav"
|
175 |
# accent -> accents in CV 8.0
|