Update customnet_util.py

add
This commit is contained in:
smthemex
2024-05-22 10:42:08 +08:00
committed by GitHub
parent 0379ea2672
commit fd37f06cef
+3 -2
View File
@@ -17,8 +17,9 @@ import sys
import os
path = os.path.dirname(os.path.abspath(__file__))
current_path = os.getcwd()
paths = os.path.join(current_path,"custom_nodes","Comfyui_CustomNet","customnet")
from folder_paths import base_path
paths = os.path.join(base_path,"custom_nodes","ComfyUI_CustomNet")
# print(paths)
sys.path.append(paths)
def pil_rectangle_crop(im):