mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-26 14:59:03 +08:00
undo unwanted change for extra networks
This commit is contained in:
parent
530fea2bc4
commit
758e8d7b41
@ -37,8 +37,7 @@ class NetworkOnDisk:
|
|||||||
try:
|
try:
|
||||||
self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata)
|
self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
#errors.display(e, f"reading lora {filename}")
|
errors.display(e, f"reading lora {filename}")
|
||||||
pass
|
|
||||||
|
|
||||||
if self.metadata:
|
if self.metadata:
|
||||||
m = {}
|
m = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user