mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-24 17:24:29 +01:00
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