From c6b9e1fd42bf3825ec7a2e85185968cd53db1499 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Tue, 31 Oct 2023 14:46:03 -0400
Subject: [PATCH] Fix upscaler ratio option

---
 src/art/genAI/stableDiffusion.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/art/genAI/stableDiffusion.js b/src/art/genAI/stableDiffusion.js
index 70a48f888c2..13eeed100f2 100644
--- a/src/art/genAI/stableDiffusion.js
+++ b/src/art/genAI/stableDiffusion.js
@@ -204,7 +204,7 @@ App.Art.GenAI.StableDiffusionClient = class {
 			cfg_scale: V.aiCfgScale,
 			enable_hr: V.aiUpscale,
 			height: V.aiHeight,
-			hr_upscaler: V.aiUpscaler,
+			hr_scale: V.aiUpscaler,
 			negative_prompt: prompt.negative(),
 			prompt: prompt.positive(),
 			sampler_name: V.aiSamplingMethod,
-- 
GitLab