mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-23 21:00:16 +08:00
Fix issues with base_nodes
This commit is contained in:
parent
73a11c0dbb
commit
f6388683e0
@ -1 +1,4 @@
|
|||||||
recursive-include comfy/web *
|
recursive-include comfy/ *
|
||||||
|
include requirements-dev.txt
|
||||||
|
include requirements.txt
|
||||||
|
include README.md
|
||||||
@ -851,9 +851,9 @@ class DualCLIPLoader:
|
|||||||
clip_path1 = folder_paths.get_full_path("clip", clip_name1)
|
clip_path1 = folder_paths.get_full_path("clip", clip_name1)
|
||||||
clip_path2 = folder_paths.get_full_path("clip", clip_name2)
|
clip_path2 = folder_paths.get_full_path("clip", clip_name2)
|
||||||
if type == "sdxl":
|
if type == "sdxl":
|
||||||
clip_type = comfy.sd.CLIPType.STABLE_DIFFUSION
|
clip_type = sd.CLIPType.STABLE_DIFFUSION
|
||||||
elif type == "sd3":
|
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)
|
clip = sd.load_clip(ckpt_paths=[clip_path1, clip_path2], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type)
|
||||||
return (clip,)
|
return (clip,)
|
||||||
|
|||||||
4
setup.py
4
setup.py
@ -196,8 +196,8 @@ if not is_editable:
|
|||||||
dev_dependencies = open(os.path.join(os.path.dirname(__file__), "requirements-dev.txt")).readlines()
|
dev_dependencies = open(os.path.join(os.path.dirname(__file__), "requirements-dev.txt")).readlines()
|
||||||
setup(
|
setup(
|
||||||
name=package_name,
|
name=package_name,
|
||||||
description="",
|
description="An installable version of ComfyUI",
|
||||||
author="",
|
author="Contributors_of_ComfyUI",
|
||||||
version=version,
|
version=version,
|
||||||
python_requires=">=3.10,<3.13",
|
python_requires=">=3.10,<3.13",
|
||||||
packages=find_packages(exclude=["tests"] + [] if is_editable else ['custom_nodes']),
|
packages=find_packages(exclude=["tests"] + [] if is_editable else ['custom_nodes']),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user