From a28de72b17105e952f226f0460be3671883a75a2 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 02 八月 2024 01:55:30 +0800
Subject: [PATCH] bugfix for paraformer-streaming

---
 funasr/auto/auto_model.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index ca1f202..f735f18 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -114,6 +114,9 @@
         try:
             from funasr.utils.version_checker import check_for_update
 
+            print(
+                "Check update of funasr, and it would cost few times. You may disable it by set `disable_update=True` in AutoModel"
+            )
             check_for_update(disable=kwargs.get("disable_update", False))
         except:
             pass

--
Gitblit v1.9.1