mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
优化merge segments 参数,解决新闻联播男女主持人“晚上好”合并一个speakid问题
This commit is contained in:
parent
c3ec6b9b9e
commit
fa74a6e26c
@ -169,7 +169,7 @@ def merge_seque(distribute_res):
|
||||
return res
|
||||
|
||||
|
||||
def smooth(res, mindur=1):
|
||||
def smooth(res, mindur=0.7):
|
||||
# if only one segment, return directly
|
||||
if len(res) < 2:
|
||||
return res
|
||||
|
||||
Loading…
Reference in New Issue
Block a user