From f6388683e0e9f9f025c3d6071ffe63df3442ec2f Mon Sep 17 00:00:00 2001 From: doctorpangloss <@hiddenswitch.com> Date: Thu, 13 Jun 2024 13:16:25 -0700 Subject: [PATCH] Fix issues with base_nodes --- MANIFEST.in | 5 ++++- comfy/nodes/base_nodes.py | 4 ++-- setup.py | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index cf3ff9585..473f17b0b 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,4 @@ -recursive-include comfy/web * +recursive-include comfy/ * +include requirements-dev.txt +include requirements.txt +include README.md \ No newline at end of file diff --git a/comfy/nodes/base_nodes.py b/comfy/nodes/base_nodes.py index 8847ee782..7c478ab03 100644 --- a/comfy/nodes/base_nodes.py +++ b/comfy/nodes/base_nodes.py @@ -851,9 +851,9 @@ class DualCLIPLoader: clip_path1 = folder_paths.get_full_path("clip", clip_name1) clip_path2 = folder_paths.get_full_path("clip", clip_name2) if type == "sdxl": - clip_type = comfy.sd.CLIPType.STABLE_DIFFUSION + clip_type = sd.CLIPType.STABLE_DIFFUSION elif type == "sd3": - clip_type = comfy.sd.CLIPType.SD3 + clip_type = sd.CLIPType.SD3 clip = sd.load_clip(ckpt_paths=[clip_path1, clip_path2], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type) return (clip,) diff --git a/setup.py b/setup.py index 0d8bcdeec..2dcd6e8d8 100644 --- a/setup.py +++ b/setup.py @@ -196,8 +196,8 @@ if not is_editable: dev_dependencies = open(os.path.join(os.path.dirname(__file__), "requirements-dev.txt")).readlines() setup( name=package_name, - description="", - author="", + description="An installable version of ComfyUI", + author="Contributors_of_ComfyUI", version=version, python_requires=">=3.10,<3.13", packages=find_packages(exclude=["tests"] + [] if is_editable else ['custom_nodes']),