Fix issues with base_nodes

This commit is contained in:
doctorpangloss 2024-06-13 13:16:25 -07:00
parent 73a11c0dbb
commit f6388683e0
3 changed files with 8 additions and 5 deletions

View File

@ -1 +1,4 @@
recursive-include comfy/web *
recursive-include comfy/ *
include requirements-dev.txt
include requirements.txt
include README.md

View File

@ -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,)

View File

@ -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']),