From 0a09368a64be40b2eaadbe786592229abd2ed948 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 03 三月 2023 11:01:21 +0800
Subject: [PATCH] Merge pull request #180 from zhuzizyf/finetune_fix
---
funasr/utils/wav_utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/wav_utils.py b/funasr/utils/wav_utils.py
index d7afe4a..4a764a9 100644
--- a/funasr/utils/wav_utils.py
+++ b/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():
--
Gitblit v1.9.1