From 1b3c0da93757ad9af53f373ae932296fdb8f3c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Tue, 20 Aug 2024 13:59:24 +0800 Subject: [PATCH] v1.1.6 --- funasr/auto/auto_model.py | 3 --- funasr/utils/version_checker.py | 3 +++ funasr/version.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py index f735f1865..ca1f20263 100644 --- a/funasr/auto/auto_model.py +++ b/funasr/auto/auto_model.py @@ -114,9 +114,6 @@ class AutoModel: 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 diff --git a/funasr/utils/version_checker.py b/funasr/utils/version_checker.py index d016ed098..9bc11deb9 100644 --- a/funasr/utils/version_checker.py +++ b/funasr/utils/version_checker.py @@ -20,6 +20,9 @@ def check_for_update(disable=False): if disable: return + print( + "Check update of funasr, and it would cost few times. You may disable it by set `disable_update=True` in AutoModel" + ) pypi_version = get_pypi_version("funasr") if current_version < pypi_version: diff --git a/funasr/version.txt b/funasr/version.txt index 314c3d717..ab679818c 100644 --- a/funasr/version.txt +++ b/funasr/version.txt @@ -1 +1 @@ -1.1.5 \ No newline at end of file +1.1.6 \ No newline at end of file