From 810046e3df4910c8f5c1a90e4b53aca45b3397e8 Mon Sep 17 00:00:00 2001
From: wuhongsheng <664116298@qq.com>
Date: 星期一, 01 七月 2024 10:42:58 +0800
Subject: [PATCH] 优化merge segments 参数,解决新闻联播男女主持人“晚上好”合并一个speakid问题 (#1861)

---
 funasr/utils/datadir_writer.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/funasr/utils/datadir_writer.py b/funasr/utils/datadir_writer.py
index e555ebc..882db77 100644
--- a/funasr/utils/datadir_writer.py
+++ b/funasr/utils/datadir_writer.py
@@ -3,7 +3,6 @@
 import warnings
 
 
-
 class DatadirWriter:
     """Writer class to create kaldi like data directory.
 
@@ -63,8 +62,7 @@
                 child.close()
                 if prev_child is not None and prev_child.keys != child.keys:
                     warnings.warn(
-                        f"Ids are mismatching between "
-                        f"{prev_child.path} and {child.path}"
+                        f"Ids are mismatching between " f"{prev_child.path} and {child.path}"
                     )
                 prev_child = child
 

--
Gitblit v1.9.1