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)

---
 runtime/python/onnxruntime/funasr_onnx/punc_bin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/runtime/python/onnxruntime/funasr_onnx/punc_bin.py b/runtime/python/onnxruntime/funasr_onnx/punc_bin.py
index 6208c09..ba55186 100644
--- a/runtime/python/onnxruntime/funasr_onnx/punc_bin.py
+++ b/runtime/python/onnxruntime/funasr_onnx/punc_bin.py
@@ -52,7 +52,7 @@
         if quantize:
             model_file = os.path.join(model_dir, "model_quant.onnx")
         if not os.path.exists(model_file):
-            print(".onnx is not exist, begin to export onnx")
+            print(".onnx does not exist, begin to export onnx")
             try:
                 from funasr import AutoModel
             except:

--
Gitblit v1.9.1