From bc7bc40e69c5b69e7cb376cd823528ded5487035 Mon Sep 17 00:00:00 2001 From: "Jonathan C. McKinney" Date: Thu, 19 Sep 2024 10:08:37 -0700 Subject: [PATCH] Fix typo --- src/version.py | 2 +- src/vision/stable_diffusion_xl.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/version.py b/src/version.py index 33cb6e759..7da539dc4 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -__version__ = "c2fb6c3b4bcd26974e791dd58b0f361bd4630c7c" +__version__ = "a913b4515c10fac40329799cb63de7f63c6dd124" diff --git a/src/vision/stable_diffusion_xl.py b/src/vision/stable_diffusion_xl.py index cb404680c..70b75d6a4 100644 --- a/src/vision/stable_diffusion_xl.py +++ b/src/vision/stable_diffusion_xl.py @@ -96,8 +96,8 @@ def make_image(prompt, height=image_size[0], width=image_size[1], num_inference_steps=image_num_inference_steps, - guidance_scale=image_guidance_scale - ** extra1, + guidance_scale=image_guidance_scale, + **extra1, ).images if refiner: image = refiner( @@ -105,8 +105,8 @@ def make_image(prompt, height=image_size[0], width=image_size[1], num_inference_steps=image_num_inference_steps, - guidance_scale=image_guidance_scale - ** extra2, + guidance_scale=image_guidance_scale, + **extra2, image=image, ).images[0]