From bbce97d48d7bc07d7d74931742ca36b9565a780b Mon Sep 17 00:00:00 2001 From: Victor Seiji Hariki Date: Wed, 4 Jan 2023 21:37:21 -0300 Subject: [PATCH] I guess this does not do much, but precautions Signed-off-by: Victor Seiji Hariki --- index.html | 2 +- js/ui/tool/dream.js | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index b4b55f8..2fbda18 100644 --- a/index.html +++ b/index.html @@ -355,7 +355,7 @@ src="js/ui/tool/generic.js?v=2bcd36d" type="text/javascript"> - + diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index e7d7048..77207c5 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -855,9 +855,10 @@ const dream_generate_callback = async (bb, resolution, state) => { } // Only set this if HRFix is enabled in the first place - request.denoising_strength = request.enable_hr - ? stableDiffusionData.hr_denoising_strength - : 1; + request.denoising_strength = + !global.isOldHRFix && request.enable_hr + ? stableDiffusionData.hr_denoising_strength + : 1; // Dream _generate("txt2img", request, bb);