Comfy-Org's update execution inversion at 15 August,it can be used to implement for loops, lazy if else (conditional judgements), and so on. Thanks to guill for working so hard on this features, Finally implemented in comfy after almost a year of hard work!
We can clearly see from the runtime on the node that the node entered to on_true is not running in the workflow.
For Loop | for循环
easy forLoopStart & easy forLoopEnd
Here's a very simple example of a workflow that loops between **forLoopStart** and **forLoopEnd**, ending the loop when the **total** number of times is reached
For detailed examples and introduction please wait for the video recording...
Credit By
Optimised from this demo: execution-inversion-demo-comfyui About PR: https://github.com/comfyanonymous/ComfyUI/pull/2666
What can it do | 它能弄啥嘞
Comfy-Org's update execution inversion at 15 August,it can be used to implement for loops, lazy if else (conditional judgements), and so on. Thanks to guill for working so hard on this features, Finally implemented in comfy after almost a year of hard work!
Comfy官方在8月15号更新的执行反转可用于for循环, 惰性if else(条件判断)等。感谢guill这个老表对这个功能辛勤的努力,经过近一年的努力我们才能在comfy中得以实施。
What's Updated | 更新了啥玩意
Lazy Evaluation | 利用惰性求值进行条件判断
For Loop | for循环
For detailed examples and introduction please wait for the video recording...
Video Guide
Comming soon...