mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 20:35:06 +08:00
Show LoRA if model is None
This commit is contained in:
parent
2b717bb195
commit
4bc39d234d
@ -60,6 +60,7 @@ class ExtraNetworksPageLora(ui_extra_networks.ExtraNetworksPage):
|
|||||||
else:
|
else:
|
||||||
sd_version = lora_on_disk.sd_version
|
sd_version = lora_on_disk.sd_version
|
||||||
|
|
||||||
|
if shared.sd_model is not None: # still show LoRA in case an error occurs during initial model loading
|
||||||
if shared.opts.lora_show_all or not enable_filter:
|
if shared.opts.lora_show_all or not enable_filter:
|
||||||
pass
|
pass
|
||||||
elif sd_version == network.SdVersion.Unknown:
|
elif sd_version == network.SdVersion.Unknown:
|
||||||
|
Loading…
Reference in New Issue
Block a user