| funasr/auto/auto_model.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| funasr/utils/version_checker.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
funasr/auto/auto_model.py
@@ -114,7 +114,7 @@ try: from funasr.utils.version_checker import check_for_update check_for_update() check_for_update(disable=kwargs.get("disable_update", False)) except: pass funasr/utils/version_checker.py
@@ -14,7 +14,9 @@ raise Exception("Failed to retrieve version information from PyPI.") def check_for_update(): def check_for_update(disable=False): if disable: return current_version = version.parse(__version__) pypi_version = get_pypi_version("funasr")