diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-16 07:07:02 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-16 07:07:02 +0000 |
commit | 7b052eb70eb2a35ce4f776b1e2ab1389802a41b5 (patch) | |
tree | 18a60901e35276f6428d97d194a38c64c10c98af /extensions-builtin/Lora/lora.py | |
parent | ccd97886da1f659472cdca3de8731f59a70bbc28 (diff) | |
download | stable-diffusion-webui-gfx803-7b052eb70eb2a35ce4f776b1e2ab1389802a41b5.tar.gz stable-diffusion-webui-gfx803-7b052eb70eb2a35ce4f776b1e2ab1389802a41b5.tar.bz2 stable-diffusion-webui-gfx803-7b052eb70eb2a35ce4f776b1e2ab1389802a41b5.zip |
add resolution calculation from buckets for lora user metadata page
Diffstat (limited to 'extensions-builtin/Lora/lora.py')
-rw-r--r-- | extensions-builtin/Lora/lora.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions-builtin/Lora/lora.py b/extensions-builtin/Lora/lora.py index c8710922..467ad65f 100644 --- a/extensions-builtin/Lora/lora.py +++ b/extensions-builtin/Lora/lora.py @@ -86,7 +86,6 @@ class LoraOnDisk: if self.is_safetensors:
try:
- #self.metadata = sd_models.read_metadata_from_safetensors(filename)
self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata)
except Exception as e:
errors.display(e, f"reading lora {filename}")
|