mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Ensure GRADIO_ANALYTICS_ENABLED is set early enough
This commit is contained in:
parent
f903b4dda3
commit
9805f35c6f
2 changed files with 3 additions and 2 deletions
|
|
@ -27,8 +27,7 @@ dir_repos = "repositories"
|
|||
# Whether to default to printing command output
|
||||
default_command_live = (os.environ.get('WEBUI_LAUNCH_LIVE_OUTPUT') == "1")
|
||||
|
||||
if 'GRADIO_ANALYTICS_ENABLED' not in os.environ:
|
||||
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
|
||||
os.environ.setdefault('GRADIO_ANALYTICS_ENABLED', 'False')
|
||||
|
||||
|
||||
def check_python_version():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue