维石
2024-07-29 09f0f20545960501263322d2a42fc2f7159722aa
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")