The first image in the workflow should be outputted, not the last.

This commit is contained in:
doctorpangloss 2024-07-08 10:21:45 -07:00
parent a1fee05e60
commit da21da1d8c

View File

@ -662,7 +662,7 @@ class PromptServer(ExecutorToClientProgress):
output_images.append(image_tuple)
if len(output_images) > 0:
main_image = output_images[-1]
main_image = output_images[0]
filename = main_image["filename"]
digest_headers_ = {
"Digest": f"SHA-256={content_digest}",