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