Closed bem13 closed 4 months ago
TL;DR - You need something downstream of the Chooser. Try adding a Preview Image
node to its output.
This is correct behavior. A Comfy workflow requires (at least) one node to be an Output. Save Image
and Preview Image
nodes are outputs, but Preview Chooser
isn't.
That's partly because you are choosing an image to pass on to something else further down the workflow. If you aren't, why would you be using the Preview Chooser
instead of a Preview Image
node?
But it's also because if a node is an Output, it always runs, which breaks the ComfyUI optimization that avoids recalculating identical parts of the workflow when possible (in the case of Preview Chooser
, when the repeat last
mode is used it doesn't need to be rerun, and nor does anything downstream of it until something that has been changed).
Until recently Preview Chooser
was an Output - but that was incorrect, and prevented the above optimization.
Hi there. I've updated ComfyUI, including all dependencies and addons yesterday, and ever since then I've been unable to use Preview Chooser. When I try to queue a prompt I get an error message saying "Prompt has no outputs". If I remove Preview Choose and use a Preview Image or Save Image node, there's no error. The error happens regardless of the checkpoint I try to use (in fact, the checkpoint doesn't even get loaded).
Here's a screenshot of the error on the default layout:![image](https://github.com/chrisgoringe/cg-image-picker/assets/6667211/720717cb-df41-41ba-a951-830372bcfce1)
And here's ComfyUI's log, where you can see a rather meaningless error message at the bottom:
Let me know if you need anything else. Thanks in advance!