Compare commits

...

1 Commits

Author SHA1 Message Date
Green Sky
c9dd7259f2 fix and update 2025-08-04 11:46:07 +02:00

View File

@@ -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);
}