mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-27 17:37:39 +08:00
Move guiders category to parent level at root of sampling category
This commit is contained in:
parent
d28d760825
commit
6140e83c5c
@ -793,7 +793,8 @@ class BasicGuider(io.ComfyNode):
|
|||||||
def define_schema(cls):
|
def define_schema(cls):
|
||||||
return io.Schema(
|
return io.Schema(
|
||||||
node_id="BasicGuider",
|
node_id="BasicGuider",
|
||||||
category="sampling/custom_sampling/guiders",
|
display_name="Basic Guider",
|
||||||
|
category="sampling/guiders",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Model.Input("model"),
|
io.Model.Input("model"),
|
||||||
io.Conditioning.Input("conditioning"),
|
io.Conditioning.Input("conditioning"),
|
||||||
@ -814,7 +815,8 @@ class CFGGuider(io.ComfyNode):
|
|||||||
def define_schema(cls):
|
def define_schema(cls):
|
||||||
return io.Schema(
|
return io.Schema(
|
||||||
node_id="CFGGuider",
|
node_id="CFGGuider",
|
||||||
category="sampling/custom_sampling/guiders",
|
display_name="CFG Guider",
|
||||||
|
category="sampling/guiders",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Model.Input("model"),
|
io.Model.Input("model"),
|
||||||
io.Conditioning.Input("positive"),
|
io.Conditioning.Input("positive"),
|
||||||
@ -868,7 +870,8 @@ class DualCFGGuider(io.ComfyNode):
|
|||||||
return io.Schema(
|
return io.Schema(
|
||||||
node_id="DualCFGGuider",
|
node_id="DualCFGGuider",
|
||||||
search_aliases=["dual prompt guidance"],
|
search_aliases=["dual prompt guidance"],
|
||||||
category="sampling/custom_sampling/guiders",
|
display_name="Dual CFG Guider",
|
||||||
|
category="sampling/guiders",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Model.Input("model"),
|
io.Model.Input("model"),
|
||||||
io.Conditioning.Input("cond1"),
|
io.Conditioning.Input("cond1"),
|
||||||
|
|||||||
@ -65,7 +65,7 @@ class VideoLinearCFGGuidance:
|
|||||||
RETURN_TYPES = ("MODEL",)
|
RETURN_TYPES = ("MODEL",)
|
||||||
FUNCTION = "patch"
|
FUNCTION = "patch"
|
||||||
|
|
||||||
CATEGORY = "sampling/video_models"
|
CATEGORY = "sampling/guiders"
|
||||||
|
|
||||||
def patch(self, model, min_cfg):
|
def patch(self, model, min_cfg):
|
||||||
def linear_cfg(args):
|
def linear_cfg(args):
|
||||||
@ -89,7 +89,7 @@ class VideoTriangleCFGGuidance:
|
|||||||
RETURN_TYPES = ("MODEL",)
|
RETURN_TYPES = ("MODEL",)
|
||||||
FUNCTION = "patch"
|
FUNCTION = "patch"
|
||||||
|
|
||||||
CATEGORY = "sampling/video_models"
|
CATEGORY = "sampling/guiders"
|
||||||
|
|
||||||
def patch(self, model, min_cfg):
|
def patch(self, model, min_cfg):
|
||||||
def linear_cfg(args):
|
def linear_cfg(args):
|
||||||
@ -158,4 +158,6 @@ NODE_CLASS_MAPPINGS = {
|
|||||||
|
|
||||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||||
"ImageOnlyCheckpointLoader": "Image Only Checkpoint Loader (img2vid model)",
|
"ImageOnlyCheckpointLoader": "Image Only Checkpoint Loader (img2vid model)",
|
||||||
|
"VideoLinearCFGGuidance": "Video Linear CFG Guidance",
|
||||||
|
"VideoTriangleCFGGuidance": "Video Triangle CFG Guidance",
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user