XmYx / deforum-comfy-nodes

Deforum ComfyUI Nodes - ai animation node package
https://deforum.studio/
MIT License
160 stars 21 forks source link

remove the negative prompt part from 'next_prompt' #40

Closed ynotzort closed 5 months ago

ynotzort commented 5 months ago

when blending between prompts and the prompts contain a negative part (via --neg) then the behavior is incorrect for next_prompt. In such case the next_prompt would still contain the negative prompt and that would be actually put into the positive prompt in the DeforumConditioningBlendNode.

example: prompt: 0: a dog --neg nsfw 10: a cat --neg nsfw

then it would start with pos = a dog, neg = nsfw and then start blending into pos = a cat --neg nsfw, neg = nsfw

but the correct one would be pos = a cat, neg = nsfw