mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-07 11:00:43 -08:00
Use options instead of cmd_args
This commit is contained in:
parent
b60e1088db
commit
598da5cd49
6 changed files with 49 additions and 42 deletions
|
|
@ -177,6 +177,7 @@ def configure_opts_onchange():
|
|||
shared.opts.onchange("temp_dir", ui_tempdir.on_tmpdir_changed)
|
||||
shared.opts.onchange("gradio_theme", shared.reload_gradio_theme)
|
||||
shared.opts.onchange("cross_attention_optimization", wrap_queued_call(lambda: sd_hijack.model_hijack.redo_hijack(shared.sd_model)), call=False)
|
||||
shared.opts.onchange("fp8_storage", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
|
||||
startup_timer.record("opts onchange")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue