aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhigh_byte <email@hanan.beer>2023-03-15 19:44:30 +0200
committerhigh_byte <email@hanan.beer>2023-03-15 19:44:30 +0200
commit79d261b7d47e75a93f38e04608508102dded6a6c (patch)
tree177b32480ab72735d5682f0960a49aafdc8c7c5e
parent27e319dc4f09a2f040043948e5c52965976f8491 (diff)
disable gradio analytics globally
-rw-r--r--launch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/launch.py b/launch.py
index 0868f8a9..2b2d3128 100644
--- a/launch.py
+++ b/launch.py
@@ -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"