Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates loading text data from external files for AI art projects, supports .txt and .csv files, streamlines integration process.
The CR Load Text List node is designed to facilitate the loading of text data from external files into your AI art projects. This node allows you to specify a file path, name, and extension to read text data from either .txt
or .csv
files. By leveraging this node, you can easily import large sets of text data, which can be particularly useful for generating prompts, captions, or any other text-based inputs required in your creative workflows. The primary goal of this node is to streamline the process of integrating external text data, ensuring that you can focus more on the creative aspects of your projects.
This parameter specifies the directory path where the text file is located. It is a string input that should contain the full path to the directory. The correct path ensures that the node can locate and read the file. The default value is an empty string, and it does not support multiline input.
This parameter defines the name of the text file to be loaded, excluding the file extension. It is a string input that should match the exact name of the file within the specified directory. The default value is an empty string, and it does not support multiline input.
This parameter allows you to specify the type of file you are loading. It accepts two options: txt
and csv
. Choosing the correct file extension is crucial as it determines how the node will read and process the file content. There is no default value, and you must select one of the provided options.
This output parameter returns the content of the loaded text file as a list of strings. Each line or row from the file is treated as a separate string in the list. This output can be used directly in your AI art projects to provide text-based inputs.
This output parameter provides a URL to the help documentation for the CR Load Text List node. It is a string that directs you to a detailed guide on how to use the node effectively, available at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-load-value-list
.
input_file_path
is correctly specified and points to the directory where your text file is located. Incorrect paths will result in file not found errors.file_name
and file_extension
to match the actual file you intend to load. Mismatched names or extensions will prevent the node from reading the file correctly.show_help
URL to access detailed documentation and examples on how to use the node, which can provide additional insights and troubleshooting tips.input_file_path
and file_name
are correct and that the file is present in the specified directory.file_extension
is either txt
or csv
, as these are the only supported formats.© Copyright 2024 RunComfy. All Rights Reserved.