This commit is contained in:
游雁 2024-08-20 13:59:24 +08:00
parent f43da18b5e
commit 1b3c0da937
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -1 +1 @@
1.1.5
1.1.6