From: Christian Heller Date: Mon, 26 Aug 2024 07:02:23 +0000 (+0200) Subject: Fix broken guidance application. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/bar%20baz.html?a=commitdiff_plain;h=6bfd6e0c100877c6d17dbbb8e0d1d78ba974c3a0;p=stable_plom Fix broken guidance application. --- diff --git a/stable/core.py b/stable/core.py index 02a44ed..3d8d4a0 100644 --- a/stable/core.py +++ b/stable/core.py @@ -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,