zhifu gao
2023-03-03 0a09368a64be40b2eaadbe786592229abd2ed948
Merge pull request #180 from zhuzizyf/finetune_fix

Update wav_utils.py
1个文件已修改
2 ■■■ 已修改文件
funasr/utils/wav_utils.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/utils/wav_utils.py
@@ -309,7 +309,7 @@
        if len(parts) < 2:
            continue
        sample_name = parts[0]
        text_dict[sample_name] = " ".join(parts[1:])
        text_dict[sample_name] = " ".join(parts[1:]).lower()
    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():