Error using comfyui

#32
by Acon14124 - opened

Error occurred when executing CLIPTextEncode:

'NoneType' object has no attribute 'tokenize'

File "/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File /nodes.py", line 57, in encode
tokens = clip.tokenize(text)
^^^^^^^^^^^^^

Download the "text encoder weights" from the text_encoders directory and put them in your ComfyUI/models/clip/ directory.

Hi,
I have created a step-by-step video to locally install Stable Diffusion 3 model. Hopefully that would help with above error too,

https://youtu.be/mhpFOQVEots?si=SJqRg651x8oZu0Pb

Sign up or log in to comment