-
I am trying to grab the output image generated by SD and then pass it to a function, but keeps failing. FunctionX = Function(WHAT GOES IN HERE?) I have tried Image = process_images(p) or Image = processed.images to pass the generated image, but since the function needs a PIL image, then gives error "list/class object has not attribute read". Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You'l need to get into source code.
|
Beta Was this translation helpful? Give feedback.
-
Thank you, that worked. Further, how do you create a function for SD that repeats generations after a conditional statement? Like: generate first image > then check condition > if condition not met > generate another image > condition met > save image > then generate next image > keep going until interrupt. Seed is random, so it is just doing the same prompt and settings over and over. |
Beta Was this translation helpful? Give feedback.
You'l need to get into source code.
modules\processing.py