home · contact · privacy
Fix broken guidance application.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 26 Aug 2024 07:02:23 +0000 (09:02 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 26 Aug 2024 07:02:23 +0000 (09:02 +0200)
stable/core.py

index 02a44edd0a3e08d7ed66f2348d5e0b84431c63d5..3d8d4a0d4679f43ebf8286a60f9faccce734a934 100644 (file)
@@ -58,7 +58,7 @@ class ImageMaker:
         self.generator.manual_seed(self.gen_params.seed)
         image = self.pipe(generator=self.generator,
                           prompt=self.gen_params.prompt,
-                          guidance=self.gen_params.guidance,
+                          guidance_scale=self.gen_params.guidance,
                           height=self.gen_params.height,
                           width=self.gen_params.width,
                           num_inference_steps=self.gen_params.n_steps,