From c9dd7259f2565c001bacdaaa45f6ba29fd9c768c Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 4 Aug 2025 11:46:07 +0200 Subject: [PATCH] fix and update --- src/sd_bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sd_bot.cpp b/src/sd_bot.cpp index 5f3a03d..7798119 100644 --- a/src/sd_bot.cpp +++ b/src/sd_bot.cpp @@ -57,7 +57,7 @@ SDBot::SDBot( if (!_conf.has_int("SDBot", "steps")) { _conf.set("SDBot", "steps", int64_t(20)); } - if (!_conf.has_double("SDBot", "cfg_scale")) { + if (!_conf.has_double("SDBot", "cfg_scale") && !_conf.has_int("SDBot", "cfg_scale")) { _conf.set("SDBot", "cfg_scale", 6.5); }