Merge pull request #8658 from hananbeer/disable_gradio_analytics

preserve privacy by disabling gradio analytics globally
This commit is contained in:
AUTOMATIC1111 2023-03-25 12:19:40 +03:00 committed by GitHub
commit 501f40d834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,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"