Update Comfyui_CustomNet_node.py

add
This commit is contained in:
smthemex
2024-05-22 10:41:27 +08:00
committed by GitHub
parent 1e42a7d88a
commit 0379ea2672
+3 -1
View File
@@ -2,8 +2,10 @@
# -*- coding: UTF-8 -*-
import sys
import os
from folder_paths import base_path
sys.path.append(os.path.join(base_path,"custom_nodes","ComfyUI_CustomNet","custom_net"))
# print(base_path)
path = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(path,"custom_net"))
path_dir = os.path.dirname(path)
file_path = os.path.dirname(path_dir)
import numpy as np