exectails 25a001e511 Improved token counter
Switched to handling input as list to show min, max, and avg token counts for all inputs.
2024-11-26 02:40:36 +01:00
2024-11-21 01:35:56 +01:00
2024-11-26 02:40:36 +01:00
2024-11-22 14:10:57 +01:00
2024-11-21 01:35:56 +01:00
2024-11-21 01:35:56 +01:00
2024-11-21 01:35:56 +01:00
2024-11-22 14:10:57 +01:00
2024-11-21 01:35:56 +01:00

ComfyUI - Info Utils

Collection of custom nodes for ComfyUI that facilitate simpler information providing and gathering, such as Show Text and Token Counter nodes.

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.

S
Description
No description provided
Readme
48 KiB
Languages
Python 93.5%
JavaScript 6.5%