From cf2c4e740b1d06e145c1992515d9b34e18affc95 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 5 Apr 2023 14:05:50 -0300 Subject: [PATCH] Disable gradio analytics globally --- server.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server.py b/server.py index f367ca0d..846ea9d6 100644 --- a/server.py +++ b/server.py @@ -1,3 +1,7 @@ +import os + +os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False' + import io import json import re