Show LoRA if model is None

This commit is contained in:
w-e-w 2024-04-23 02:39:45 +09:00
parent 2b717bb195
commit 4bc39d234d

View File

@ -60,6 +60,7 @@ class ExtraNetworksPageLora(ui_extra_networks.ExtraNetworksPage):
else:
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:
pass
elif sd_version == network.SdVersion.Unknown: