disable gradio analytics globally

This commit is contained in:
high_byte 2023-03-15 19:44:30 +02:00
parent 27e319dc4f
commit 79d261b7d4
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ index_url = os.environ.get('INDEX_URL', "")
stored_commit_hash = None
skip_install = False
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
def check_python_version():
is_windows = platform.system() == "Windows"