maker = ImageMaker(model_path)
start_seed = args.seed
start_seed = start_seed if start_seed != 0 else randint(-(2**31-1), 2**31)
+seed_corrector = 0
for n in range(args.quantity):
- nth_seed = start_seed + n
- if 0 == nth_seed:
- nth_seed += 1
+ if 0 == start_seed + n + seed_corrector:
+ seed_corrector += 1
+ nth_seed = start_seed + n + seed_corrector
path = save_path(n)
maker.set_gen_params(args.prompt, nth_seed, args.guidance, args.height,
args.width, args.n_steps, args.scheduler)