Why does the result is the same with the same prompt?

#107
by GrumpyIta - opened

Hi, how can I generate multiple images with the same prompt? Right now if I pass the same string the same image is generated.
I'm using the Interface API.
Also can I pass additional parameters using the API or do I need to execute the model on my computer to do so? (like negative prompt, creativity/stability, etc.)

@GrumpyIta setting torch.manual_seed(int) before calling the pipeline works for me. If you pass in the same seed, it generates the same image. If you pass different seed, I get different image.

Sign up or log in to comment