FizzleDorf / ComfyUI_FizzNodes

Custom Nodes for Comfyui
MIT License
399 stars 60 forks source link

Using text box on pre_text leads to an error #45

Closed ilisho closed 11 months ago

ilisho commented 12 months ago

Error:

Error occurred when executing BatchPromptSchedule: Sizes of tensors must match except in dimension 0. Expected size 77 but got size 154 for tensor number 15 in the list.

Description: I am using Derfuu_ComfyUI_ModdedNodes to write pre text in Batch Prompt Schedule node, but it gives me an error.

When i have the error: -If i use the Batch Prompt Schedule node and write text in pre_text using a text box. -If i use the same setup but on a simple Prompt Schedule node, it works fine, but gives less good result. -If i use to write directly in Batch Prompt Schedule node in the pre_text box it will give an error. -If i am not using Pre text all works fine -If i write it in the main promt text box and copy to all frames it will give an error if the prompt is to long. -It also works fine in all cases if i write on 4 words in a pre text- Example: If i write - "long hair, red hair" it is working, if i write -"1girl, solo, long grey hair, grey eyes, black sweater," it gives an error

FizzleDorf commented 11 months ago

Same issue as #46, i did action this yesterday so try pulling and trying again. Make sure to report any further problems in the mentioned issue and I'll get back to it.