mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-09 03:50:23 -08:00
Add "None" option to extra networks dropdowns
This commit is contained in:
parent
22bcc7be42
commit
f4b332f041
4 changed files with 4 additions and 4 deletions
|
|
@ -52,5 +52,5 @@ script_callbacks.on_before_ui(before_ui)
|
|||
|
||||
|
||||
shared.options_templates.update(shared.options_section(('extra_networks', "Extra Networks"), {
|
||||
"sd_lora": shared.OptionInfo("None", "Add Lora to prompt", gr.Dropdown, lambda: {"choices": [""] + [x for x in lora.available_loras]}, refresh=lora.list_available_loras),
|
||||
"sd_lora": shared.OptionInfo("None", "Add Lora to prompt", gr.Dropdown, lambda: {"choices": ["None"] + [x for x in lora.available_loras]}, refresh=lora.list_available_loras),
|
||||
}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue