Add files via upload

This commit is contained in:
Nik Clark
2025-04-01 01:13:21 +01:00
committed by GitHub
parent cb58d96bd7
commit be096b3b86
2 changed files with 16 additions and 4 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ from typing import List
import comfy.model_management
from nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
class CountryOfOrigin:
class TT_CountryOfOrigin:
@classmethod
def INPUT_TYPES(cls):
options = cls.load_options()
@@ -35,5 +35,5 @@ class CountryOfOrigin:
return (selection,)
# Register the node
NODE_CLASS_MAPPINGS["CountryOfOrigin"] = CountryOfOrigin
NODE_DISPLAY_NAME_MAPPINGS["CountryOfOrigin"] = "CountryOfOrigin"
NODE_CLASS_MAPPINGS["TT_CountryOfOrigin"] = TT_CountryOfOrigin
NODE_DISPLAY_NAME_MAPPINGS["TT_CountryOfOrigin"] = "TT_CountryOfOrigin"
+13 -1
View File
@@ -1,3 +1,15 @@
from .TT_FemaleClothes import TT_FemaleClothes
from .TT_RandomPlacesOnEarth import TT_RandomPlacesOnEarth
from .TT_CountryOfOrigin import TT_CountryOfOrigin
from .TT_CountryOfOrigin import TT_CountryOfOrigin
NODE_CLASS_MAPPINGS = {
"TT_FemaleClothes": TT_FemaleClothes,
"TT_RandomPlacesOnEarth": TT_RandomPlacesOnEarth,
"TT_CountryOfOrigin": TT_CountryOfOrigin,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"TT_FemaleClothes": "TT_FemaleClothes",
"TT_RandomPlacesOnEarth": "TT_RandomPlacesOnEarth",
"TT_CountryOfOrigin": "TT_CountryOfOrigin",
}