fixed up init

This commit is contained in:
FizzleDorf
2023-10-12 01:47:58 -04:00
parent 3970868e95
commit fc9d5d94ea
3 changed files with 8 additions and 5 deletions
+1
View File
@@ -0,0 +1 @@
__pycache__/
+5 -3
View File
@@ -1,5 +1,7 @@
from .ait_load import AITLoader
from .ait_load import AIT_Unet_Loader
NODE_DISPLAY_NAME_MAPPINGS = {
"AITLoader":"AITLoader",
NODE_CLASS_MAPPINGS = {
"AIT_Unet_Loader":AIT_Unet_Loader,
}
print('\033[34mAIT Nodes: \033[92mLoaded\033[0m')
+2 -2
View File
@@ -88,7 +88,7 @@ class AITPatch:
self.ait_model = None
print("unloaded AIT")
class AITLoader:
class AIT_Unet_Loader:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL", ),
@@ -97,7 +97,7 @@ class AITLoader:
RETURN_TYPES = ("MODEL",)
FUNCTION = "load_ait"
CATEGORY = "_for_testing"
CATEGORY = "loaders/AIT"
def load_ait(self, model, ait_name):
ait_path = folder_paths.get_full_path("ait", ait_name)