From 6bfd6e0c100877c6d17dbbb8e0d1d78ba974c3a0 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 26 Aug 2024 09:02:23 +0200 Subject: [PATCH] Fix broken guidance application. --- stable/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2