Skip to content

Commit

Permalink
add alt loaders for checkpoint and lora
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 26, 2024
1 parent e5ed977 commit 2a8c8b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stores/modelToNodeStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ export const useModelToNodeStore = defineStore('modelToNode', {
}
this.haveDefaultsLoaded = true
this.quickRegister('checkpoints', 'CheckpointLoaderSimple', 'ckpt_name')
this.quickRegister(
'checkpoints',
'ImageOnlyCheckpointLoader',
'ckpt_name'
)
this.quickRegister('loras', 'LoraLoader', 'lora_name')
this.quickRegister('loras', 'LoraLoaderModelOnly', 'lora_name')
this.quickRegister('vae', 'VAELoader', 'vae_name')
this.quickRegister('controlnet', 'ControlNetLoader', 'control_net_name')
}
Expand Down

0 comments on commit 2a8c8b7

Please sign in to comment.