Well I was browsing around and came across this thread from a few months ago. https://www.reddit.com/r/StableDiffusion/s/Ttr7m4BSyi
and I know TextGen WebUI uses Gradio as well, I was just wondering if there was anything I could do to turn off or block any sort of telemetry or internet access to the webui and such so that everything I do stays private?
#Privacy concerns with Gradio
13 messages · Page 1 of 1 (latest)
Well, in the code it uses "os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'" in server.py.
You could add a few more variables from the post if you're concerned.
Okay cool, is there anywhere else i need to add them besides server.py?
No. You can even try to set them up as environmental variables of your OS instead of modifying the code.
This way it might work even for other gradio apps
Well I added it to the server.py, I think. When adding it to system variables do I just put GRADIO_ANALYTICS_ENABLED="False" or do I need to attach os.inviron or something else at the front?
For system variables it would be GRADIO_ANALYTICS_ENABLED="False" and similar with others.
If you set it outside of the app, for example in bat file or for system wide variables.
"os.environ" it's for python code
gotcha, does this look correct?
No, variable name in the left side, value in the right side.
So GRADIO_ANALYTICS_ENABLED on the left, False on the right.
Oh duh. lol
like this right?
Yes