update override settings

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-10-30 14:01:32 -04:00
parent 4033567d4f
commit a6d854fef6
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -404,8 +404,8 @@ def control_run(state: str = '', # pylint: disable=keyword-arg-before-vararg
outpath_grids=shared.opts.outdir_grids or shared.opts.outdir_control_grids,
# overrides
override_settings=extra
)
p.state = state
p.is_tile = False
p.init_control = inits or []
+2 -1
View File
@@ -252,7 +252,8 @@ def connect_paste(button, local_paste_fields, input_comp, override_settings_comp
val = valtype(v)
res.append(gr.update(value=val))
applied[key] = val
except Exception:
except Exception as e:
shared.log.error(f'Paste param: key="{key}" value="{v}" error="{e}"')
res.append(gr.update())
list_applied = [{k: v} for k, v in applied.items() if not callable(v) and not callable(k)]
shared.log.debug(f"Prompt restore: apply={list_applied} skip={skipped}")
+1
View File
@@ -87,6 +87,7 @@ def parse(infotext):
mapping = [
# Models
('Model', 'sd_model_checkpoint'),
('Model hash', 'sd_model_checkpoint'),
('Refiner', 'sd_model_refiner'),
('VAE', 'sd_vae'),