Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates dynamic selection between two pipelines based on input for conditional data routing and workflow control.
The CR Pipe Switch node is designed to facilitate the dynamic selection between two different pipelines based on a specified input. This node is particularly useful when you need to conditionally route data through one of two possible paths, allowing for greater flexibility and control in your workflow. By leveraging this node, you can streamline complex processes and ensure that the appropriate pipeline is utilized based on the given conditions. This can be especially beneficial in scenarios where different processing steps or modules need to be applied under varying circumstances.
The Input
parameter determines which pipeline will be selected. It accepts an integer value with a default of 1, a minimum of 1, and a maximum of 2. When set to 1, the first pipeline (pipe1
) is chosen; when set to 2, the second pipeline (pipe2
) is selected. This parameter is crucial for directing the flow of data through the desired pipeline based on your specific requirements.
The pipe1
parameter represents the first pipeline option. It is of type PIPE_LINE
and serves as one of the two possible routes that data can be directed through. This pipeline will be selected if the Input
parameter is set to 1.
The pipe2
parameter represents the second pipeline option. It is also of type PIPE_LINE
and serves as the alternative route that data can be directed through. This pipeline will be selected if the Input
parameter is set to 2.
The PIPE_LINE
output is the selected pipeline based on the Input
parameter. It will be either pipe1
or pipe2
, depending on the value of Input
. This output is essential as it determines the subsequent path that the data will follow in your workflow.
The show_help
output provides a URL string that links to the documentation for the CR Pipe Switch node. This is useful for users who need additional information or guidance on how to effectively use the node. The URL is: https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Pipe-Nodes#cr-pipe-switch
.
Input
parameter is correctly set to either 1 or 2 to select the appropriate pipeline.show_help
output to access detailed documentation and examples on how to use the CR Pipe Switch node effectively.Input
parameter must be set to either 1 or 2. - Solution: Verify that the Input
parameter is within the valid range (1 or 2) and adjust it accordingly.pipe1
or pipe2
) are not provided.pipe1
and pipe2
parameters are correctly connected to valid pipelines before executing the node.© Copyright 2024 RunComfy. All Rights Reserved.