From 5ee2f382b32c5c0beaa1c133b466a100c6fb7ebc Mon Sep 17 00:00:00 2001
From: passerbya <hanghang3103@163.com>
Date: 星期四, 20 三月 2025 23:01:05 +0800
Subject: [PATCH] FIX 'NoneType' object has no attribute 'isalpha' (#2440)

---
 funasr/models/ct_transformer/template.yaml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/models/ct_transformer/template.yaml b/funasr/models/ct_transformer/template.yaml
index cad04be..2538e6b 100644
--- a/funasr/models/ct_transformer/template.yaml
+++ b/funasr/models/ct_transformer/template.yaml
@@ -25,6 +25,7 @@
         - 1.0
         - 1.0
         - 1.0
+    sentence_end_id: 3
 
 encoder: SANMEncoder
 encoder_conf:

--
Gitblit v1.9.1