comfyui-et_infoutils

comfyui-et_infoutils
★ 3

信息展示数据收集调试工具Token 计数
为 ComfyUI 提供信息展示与收集的实用节点集,包含 Text Box、Show Data、Token Counter 等,便于调试与交互。
💡 在工作流中快速显示文本/数据并统计 Token 以便调试。
🍴 1 Forks💻 Python🔄 2024-11-29
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a9fb3a59e10c
📄 README

ComfyUI – Info Utils

=============================================================================

Collection of custom nodes for ComfyUI that facilitate simpler information

providing and gathering, such as Show Text and Token Counter nodes.

Install


Option 1

Install via [ComfyUI-Manager][1].

Option 2

Clone the repository into your ComfyUI custom_nodes directory.

git clone https://github.com/exectails/comfyui-et_infoutils

Nodes


Token Counter

A passthrough text node that takes a string, counts the tokens in it,

and displays the amount in a text box on the node. The original string

is returned as is, so the node can be plugged in between a text provider

and an encoder.

Note that in case of list inputs (such as multiple prompts from a dynamic

prompt node), the counter counts only one of the strings. Should the prompt

lengths vary wildly, the counter might not be reliable.

Text Box

A primitive string node that provides a multiline text box for longer

text inputs.

Show Data

A node primarily intended for debugging that takes an arbitrary input

and displays it in string format.

Inspect Text

A node primarily intended for debugging that takes a string input,

displays it, and passes it through to its output for further processing.

Present Image

A node that takes images and displays them, with a toggle for saving them

at a configurable path. It essentially merges the Preview and Save Image

nodes, while giving control over the save path and adding a simpler way

to toggle saving on and off.

[1]: https://github.com/ltdrdata/ComfyUI-Manager