Jannchie / ComfyUI-J

Jannchie's ComfyUI custom nodes.
64 stars 13 forks source link

Error in diffuser generator-- using example workflow -basic #14

Open jags111 opened 2 months ago

jags111 commented 2 months ago

i tried several times using same workflow.. But every time it is not getting past this

14 [DiffusersGenerator]: 0.95s

Prompt executed in 1.16 seconds got prompt [rgthree] Using rgthree's optimized recursive execution. Prompt executor has been patched by Job Iterator!

3 [DiffusersCompelPromptEmbedding]: 0.22s

torch.bfloat16 torch.bfloat16 !!! Exception during processing !!! Traceback (most recent call last): File "I:\AI\comfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\comfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 381, in new_func res_value = old_func(final_args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\comfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\ComfyUI\custom_nodes\ComfyUI-J__init__.py", line 841, in run result = pipeline( ^^^^^^^^^ File "I:\AI\comfyUI\venv\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "I:\AI\ComfyUI\custom_nodes\ComfyUI-J\pipelines\jannchie.py", line 498, in call added_cond_kwargs["text_embeds"] = prompt_embeds


TypeError: 'NoneType' object does not support item assignment

#14 [DiffusersGenerator]: 0.87s
Prompt executed in 1.13 seconds
jags111 commented 2 months ago
2024-05-01_12-17-29
Jannchie commented 2 months ago

My mistake. I just pushed the new code, you can try again.

jags111 commented 2 months ago

okay all good tested and working now

2024-05-01_13-19-33
jags111 commented 2 months ago
2024-05-01_13-22-15
jags111 commented 2 months ago

almost all nodes work perfectly and change clothes is also very cool...

2024-05-01_14-52-00