mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +00:00
Set env vars to disable telemetry in libs used by some custom nodes.
This commit is contained in:
parent
fbf68c4e52
commit
ac2f0523ca
5
main.py
5
main.py
@ -8,6 +8,11 @@ import time
|
|||||||
from comfy.cli_args import args
|
from comfy.cli_args import args
|
||||||
from app.logger import setup_logger
|
from app.logger import setup_logger
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
#NOTE: These do not do anything on core ComfyUI which should already have no communication with the internet, they are for custom nodes.
|
||||||
|
os.environ['HF_HUB_DISABLE_TELEMETRY'] = '1'
|
||||||
|
os.environ['DO_NOT_TRACK'] = '1'
|
||||||
|
|
||||||
|
|
||||||
setup_logger(log_level=args.verbose)
|
setup_logger(log_level=args.verbose)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user