diff --git a/efficiency_nodes.py b/efficiency_nodes.py index 4c9b093..79545cc 100644 --- a/efficiency_nodes.py +++ b/efficiency_nodes.py @@ -25,7 +25,7 @@ import random my_dir = os.path.dirname(os.path.abspath(__file__)) # Construct the absolute path to the ComfyUI directory -comfy_dir = os.path.join(my_dir, '..', '..') +comfy_dir = os.path.abspath(os.path.join(my_dir, '..', '..')) # Add the ComfyUI directory path to the sys.path list sys.path.append(comfy_dir)