ComfyUI / Python - prompt iterators - compose Python inside the grid - create custom gates

Publicado el: 10 junio 2024
en el canal de: Bin Bash
221
like

#comfyui #stablediffusion #python

Python Gates - ComfyUI nodes to iterate compound lists and perform Python operations.

At around 7:25 you'll notice that I forgot the + sign, this will result in an error that I was about to chase as a bug and then realized my error.

Description:

In this video I'll example a few of the nodes I made for ComfyUI.

Clip Text Encode - additional inputs and outputs
Green Box - a prompt iterator, not wild-cards
Python - a node that allows you to execute python code right inside ComfyUI.

The work-flow takes a couple of prompt nodes, pipes them through a couple more, concatenates them, tests using Python and ultimately adds to the prompt if the condition is met. The Python node, in this instance, is effectively used as a gate.

Note that this Python node is incredibly versatile and, I believe, can give newer people an easily accessible interface to Python, for learning.

/ D

I separated the Python node from my main install, so if you need that then it's a different repository and can be found here:
https://shinsplat.com/comfy/python

The remaining nodes:
https://shinsplat.com/comfy/

Come chatter on Discord:
https://shinsplat.com/sd/


En esta página del sitio puede ver el video en línea ComfyUI / Python - prompt iterators - compose Python inside the grid - create custom gates de Duración hora minuto segunda en buena calidad , que subió el usuario Bin Bash 10 junio 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 221 veces y le gustó like a los espectadores. Disfruta viendo!