This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Replies: 2 comments 4 replies
-
No there is no real other way but input a reset bool via switches and math
stuff. Though if it is just a this or that thing there could probably be a
node made that simply switches between 0 and 1 each prompt run. Would that
be helpful?
…On Thu, Oct 12, 2023, 12:56 AM Kia Azad ***@***.***> wrote:
I'm trying to do a batch of four images and change both prompt and image
on every one of them, The first step is figuring out how to iterate through
the images and I have a hard time figuring out how to reset the counter:
[image: image]
<https://user-images.githubusercontent.com/33455007/274524293-c3303977-b556-420c-8522-ee9f1affbde9.png>
I think I can string some math nodes together and switch between the text
inputs, but is there an easier way to do this?
—
Reply to this email directly, view it on GitHub
<#233>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIZEZO2SBC34HHLL6HCD7LX66PBXANCNFSM6AAAAAA55F5C7E>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Something like that would be great.
if a > b:
return 1
else:
return 0 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to do a batch of four images and change both prompt and image on every one of them, The first step is figuring out how to iterate through the images and I have a hard time figuring out how to reset the counter:

I think I can string some math nodes together and switch between the text inputs, but is there an easier way to do this?
Beta Was this translation helpful? Give feedback.
All reactions