-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Unable to get more than 1 output image from a workflow #95
Labels
bug
Something isn't working
Comments
Same issue, the problem is here
Every time the loop iterates over an image, it assigns a new value to output_images instead of adding to a list. Thus, if you have multiple images, only the final image’s path will remain in output_images. The proposed solution from chatGPT is
Im forking and will submit a PR if it fixes it |
Submitted a PR works for me #96 enjoy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a workflow with one single Save image node (core) at the end.
This workflow is supposed to generate 4 images using Batch-condition Batch-String custom node to send 4 different prompts.
It works properly in the Web UI generating all 4 images but when used with the runpod-worker-comfy it only sends 1 image in the result message (Base64 encoded) instead of 4, but I can see that the 4 imgs have been generated in the output folder.
So it seems that the worker API isn't able to get the 3 other images... ?
I have the same issue running everything on runpod and on my local server.
Repro MVP (Minimal Viable Procedure)
Here is a simple workflow example, generating 4 images using Batch Condition node :
Batch Image Generation.json
Expected behavior
I expect the result message having all 4 images base64 encoded.
Screenshots
Versions (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: