mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-28 10:11:42 +00:00
rework and speed up model loading
This commit is contained in:
@@ -329,7 +329,7 @@ class UiSettings:
|
||||
button_set_checkpoint = gr.Button('Change checkpoint', elem_id='change_checkpoint', visible=False)
|
||||
button_set_checkpoint.click(
|
||||
fn=button_set_checkpoint_change,
|
||||
_js="function(v){ var res = desiredCheckpointName; desiredCheckpointName = ''; return [res || v, null]; }",
|
||||
js="function(v){ var res = desiredCheckpointName; desiredCheckpointName = ''; return [res || v, null]; }",
|
||||
inputs=[main_entry.ui_checkpoint, self.dummy_component],
|
||||
outputs=[main_entry.ui_checkpoint, self.text_settings],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user