aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-03 19:46:57 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-03 20:31:13 +0000
commit20549a50cb3c41868ce561c6658bfaa0d20ac7ba (patch)
tree789d872fc05f12633125c37c0ce88f6a4df8e597 /modules/sd_models.py
parent8e840e151917892af8d8681781b231a1fc47d404 (diff)
downloadstable-diffusion-webui-gfx803-20549a50cb3c41868ce561c6658bfaa0d20ac7ba.tar.gz
stable-diffusion-webui-gfx803-20549a50cb3c41868ce561c6658bfaa0d20ac7ba.tar.bz2
stable-diffusion-webui-gfx803-20549a50cb3c41868ce561c6658bfaa0d20ac7ba.zip
add style editor dialog
rework toprow for img2img and txt2img to use a class with fields fix the console error when editing checkpoint user metadata
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index 8f72f21d..1d93d893 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -68,7 +68,7 @@ class CheckpointInfo:
self.title = name if self.shorthash is None else f'{name} [{self.shorthash}]'
- self.ids = [self.hash, self.model_name, self.title, name, f'{name} [{self.hash}]'] + ([self.shorthash, self.sha256, f'{self.name} [{self.shorthash}]'] if self.shorthash else [])
+ self.ids = [self.hash, self.model_name, self.title, name, self.name_for_extra, f'{name} [{self.hash}]'] + ([self.shorthash, self.sha256, f'{self.name} [{self.shorthash}]'] if self.shorthash else [])
def register(self):
checkpoints_list[self.title] = self