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

Veröffentlicht am: 10 Juni 2024
auf dem Kanal: 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/


Auf dieser Seite können Sie das Online-Video ComfyUI / Python - prompt iterators - compose Python inside the grid - create custom gates mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Bin Bash 10 Juni 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 221 Mal angesehen und es wurde von like den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!