北念
2024-07-24 8aa01036b6b7722344a537546c2d25e4e8798912
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")