fix and update

This commit is contained in:
Green Sky
2025-08-04 11:46:07 +02:00
parent 2beb74eb5f
commit c9dd7259f2

View File

@@ -57,7 +57,7 @@ SDBot::SDBot(
if (!_conf.has_int("SDBot", "steps")) { if (!_conf.has_int("SDBot", "steps")) {
_conf.set("SDBot", "steps", int64_t(20)); _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); _conf.set("SDBot", "cfg_scale", 6.5);
} }