Skip to content

Commit

Permalink
Set env vars to disable telemetry in libs used by some custom nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Dec 7, 2024
1 parent fbf68c4 commit ac2f052
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
from comfy.cli_args import args
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)

Expand Down

0 comments on commit ac2f052

Please sign in to comment.