home · contact · privacy
Remove redundant parameter setting.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 19 Aug 2024 02:55:00 +0000 (04:55 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 19 Aug 2024 02:55:00 +0000 (04:55 +0200)
stable.py

index ea0f5989d3ed6a9aa6f9ec74bbaa9390f98b0c57..7a31a8541ed69d3f7962def6d6a3f436d23244aa 100755 (executable)
--- a/stable.py
+++ b/stable.py
@@ -50,6 +50,4 @@ for n in range(args.number):
     maker.set_gen_params(args.prompt, nth_seed, args.guidance,
                          args.height, args.width, args.steps)
     print(f'GENERATING: {path}; {maker.gen_params_to_exif_comment}')
-    maker.set_gen_params(args.prompt, nth_seed, args.guidance, args.height,
-                         args.width, args.steps)
     maker.gen_image_to(path)