维石
2024-07-26 874ed3aaac591e2d1c29087b5f4e86ba66272f8b
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")