Saltar al contenido
Node packVerificadoExterno
Abrir fuente

srl-nodes

A collection of nodes for ComfyUI

Responsable@seanlynchB · adoptioncalidad

Perfil del paquete

Estado
Verificado
Publicador
@seanlynch
Fuente
GitHub

Léeme

SRL's nodes

This is a collection of nodes I find useful. Note that at least one module allows execution of arbitrary code. Do not use any of these nodes on a system that allow untrusted users to control workflows or inputs.

Nodes

SRL Conditional Interrupt

Screenshot of SrlConditionalInterrupt

Interrupts the currently running prompt if the "interrupt" input is true. Also passes through an item of any type for sequencing purposes.

SRL Format String

Screenshot of SrlFormatString

Format a string using Python's string format syntax. You can use both positional and named argument syntax.

SRL Eval

Screenshot of SrlEval

Evaluate arbitrary Python code as a function. Do not use on a system accessible by untrusted users. Code is evaluated as:

def func({parameters}):
    code\_line1
    code\_line2
    ...

Right now this uses the globals dictionary from the module, so be careful about anything that might mutate globals, such as importing modules. I don't have any intention to try to make it secure because ComfyUI itself isn't remotely secure, but I will probably try to improve isolation at some point in the future to prevent unintended problems. PRs gladly accepted if you have need for this.

SRL Filter Image List

Screenshot of SrlFilterImageList

Takes a list of images and a list of bools as input and outputs a list of the input images where the bool is true.

License

All code in this repository is copyright Sean Richard Lynch and any other srl-nodes authors and released under the AGPLv3 unless otherwise specified. Please see LICENSE.txt for the full text of the license.

Warranty

This code comes with no warranty of any kind. It may destroy your computer. If it does, you get to keep the pieces.

Nodos de este paquete

8 nodos
  • SRL Conditional Interrrupt
  • SRL Eval
  • SRL Filter Image List
  • SRL Format String
  • SrlConditionalInterrupt
  • SrlEval
  • SrlFilterImageList
  • SrlFormatString

Fuentes

3 fuentes
GitHubFuenteVersión 803eea5da80647a0f83810a04a693d95ea9d5f29
github.com/seanlynch/srl-nodes

Verificado 10 oct

GitHubFuente
github.com/seanlynch/srl-nodes

Verificado 22 oct

Extractos de fuentes

1 extracto

Source context: Repo seanlynch/srl-nodes