From 443bc09c11f3cf89ffc573aab2021f0c933aa5b3 Mon Sep 17 00:00:00 2001
From: kmn1024 <kienman@gmail.com>
Date: 星期三, 25 六月 2025 16:34:30 +0800
Subject: [PATCH] Bugfix: Only allow rank==0 to clean up old checkpoints (#2558)

---
 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