forked from extern/easydiffusion
Fix error if a user doesn't have any LoRA models in the folder
This commit is contained in:
parent
a33908b6de
commit
7a9bc883df
@ -618,7 +618,7 @@
|
|||||||
imagePlaceholder: undefined,
|
imagePlaceholder: undefined,
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
LoraUI.modelField = new ModelDropdown(document.querySelector("#loraModel"), "lora")
|
LoraUI.modelField = new ModelDropdown(document.querySelector("#loraModel"), "lora", "None")
|
||||||
LoraUI.keywordsField = document.querySelector("#lora-manager-keywords")
|
LoraUI.keywordsField = document.querySelector("#lora-manager-keywords")
|
||||||
LoraUI.notesField = document.querySelector("#lora-manager-notes")
|
LoraUI.notesField = document.querySelector("#lora-manager-notes")
|
||||||
LoraUI.civitaiImportBtn = document.querySelector("#lora-keyword-from-civitai")
|
LoraUI.civitaiImportBtn = document.querySelector("#lora-keyword-from-civitai")
|
||||||
|
Loading…
Reference in New Issue
Block a user