InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

Gallery doesn't get images saved by the FaceOff node

Open luisfl opened this issue 1 year ago • 1 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

Operating system

Linux

GPU vendor

None (CPU)

GPU model

No response

GPU VRAM

No response

Version number

4.0.4

Browser

firefox-124.0.2-2.fc38.x86_64

Python dependencies

No response

What happened

The images generated by the FaceOff module do not appear in the Gallery (right-hand panel). Yet, they appear after reloading the browser window.

What you expected to happen

Images to appear right away.

How to reproduce the problem

Just use the FaceOff module with saving option on: images are not shown at once.

Additional context

No response

Discord username

cachochantun

luisfl avatar Apr 15 '24 13:04 luisfl

In order to add images to the gallery, we use some simple logic that tests if the node's output is exactly an ImageOutput.

The FaceOff node output contains images, but isn't exactly an ImageOutput - it's a FaceOffOutput.

The logic needs to be a bit more sophisticated to handle this. Might need some changes to how outputs are handled on the backend and/or socket events.

psychedelicious avatar Apr 15 '24 22:04 psychedelicious