diff --git a/main.py b/main.py index ac9d24b7b82..5f42df14944 100644 --- a/main.py +++ b/main.py @@ -8,10 +8,12 @@ from comfy.cli_args import args from app.logger import setup_logger import itertools -import utils.extra_config import logging import sys +sys.path.insert(0, os.path.abspath(os.path.dirname(__file__))) +import utils.extra_config + 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'