From 062eb8ff5ae4fde12d9551c2d6f1b64bf39571bd Mon Sep 17 00:00:00 2001
From: yhliang <429259365@qq.com>
Date: 星期四, 11 五月 2023 15:54:02 +0800
Subject: [PATCH] update saasr egs and m2met docs

---
 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 4a764a9..ebb80d2 100644
--- a/funasr/utils/wav_utils.py
+++ b/funasr/utils/wav_utils.py
@@ -299,7 +299,7 @@
     wav_dict = {}
     for line in wav_lines:
         parts = line.strip().split()
-        if len(parts) < 2:
+        if len(parts) != 2:
             continue
         sample_name, wav_path = parts
         wav_dict[sample_name] = wav_path

--
Gitblit v1.9.1