维石
2024-07-23 925910c5995bac39e9c5907c40070a30edfabe60
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")