mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 12:54:40 +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_NAMES = ("mask", "string", "float", "count")
|
||||
RETURN_NAMES = ("mask", "coord_str", "float", "count")
|
||||
FUNCTION = "splinedata"
|
||||
CATEGORY = "KJNodes/experimental"
|
||||
DESCRIPTION = """
|
||||
|
||||
@ -22,7 +22,7 @@ import comfy.sample
|
||||
import folder_paths
|
||||
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"))
|
||||
|
||||
class AnyType(str):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user