mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
Fix font path
This commit is contained in:
parent
9112777eb1
commit
4685bfe3f3
@ -56,7 +56,7 @@ class SplineEditor:
|
|||||||
}
|
}
|
||||||
|
|
||||||
RETURN_TYPES = ("MASK", "STRING", "FLOAT", "INT")
|
RETURN_TYPES = ("MASK", "STRING", "FLOAT", "INT")
|
||||||
RETURN_NAMES = ("mask", "string", "float", "count")
|
RETURN_NAMES = ("mask", "coord_str", "float", "count")
|
||||||
FUNCTION = "splinedata"
|
FUNCTION = "splinedata"
|
||||||
CATEGORY = "KJNodes/experimental"
|
CATEGORY = "KJNodes/experimental"
|
||||||
DESCRIPTION = """
|
DESCRIPTION = """
|
||||||
|
|||||||
@ -22,7 +22,7 @@ import comfy.sample
|
|||||||
import folder_paths
|
import folder_paths
|
||||||
from ..utility.utility import tensor2pil, pil2tensor
|
from ..utility.utility import tensor2pil, pil2tensor
|
||||||
|
|
||||||
script_directory = os.path.dirname(os.path.abspath(__file__))
|
script_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
folder_paths.add_model_folder_path("kjnodes_fonts", os.path.join(script_directory, "fonts"))
|
folder_paths.add_model_folder_path("kjnodes_fonts", os.path.join(script_directory, "fonts"))
|
||||||
|
|
||||||
class AnyType(str):
|
class AnyType(str):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user