From fc6f851ae05ef6b4dc55532d71f5dfc9bc8c68d6 Mon Sep 17 00:00:00 2001 From: Anson hu Date: Mon, 13 Nov 2023 21:25:37 +0800 Subject: [PATCH] Fix: change default value of ad_controlnet_module in ADetailer to None --- utility/session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/session.js b/utility/session.js index ba93f9d6..f4881865 100644 --- a/utility/session.js +++ b/utility/session.js @@ -309,7 +309,7 @@ async function getSettings(session_data) { function setAlwaysOnScripts() { const data = after_detailer_script.store.toJsFunc().data // console.log('setAlwaysOnScripts=> data:', data) - let ad_controlnet_module = null + let ad_controlnet_module = 'None' if (data.controlnet_model?.includes('inpaint')) { ad_controlnet_module = 'inpaint_global_harmonious' }