update repo

This commit is contained in:
嘉渊 2023-05-11 16:10:59 +08:00
parent ddcbad5e18
commit c2bf708f87

View File

@ -27,7 +27,7 @@ def filter_wav_text(data_dir, dataset):
parts = line.strip().split()
if len(parts) < 2:
continue
text_dict[parts[0]] = " ".join(parts[1:]).lower()
text_dict[parts[0]] = " ".join(parts[1:])
filter_count = 0
with open(wav_file, "w") as f_wav, open(text_file, "w") as f_text:
for sample_name, wav_path in wav_dict.items():