diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-03 19:46:57 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-03 20:31:13 +0000 |
commit | 20549a50cb3c41868ce561c6658bfaa0d20ac7ba (patch) | |
tree | 789d872fc05f12633125c37c0ce88f6a4df8e597 /modules/sd_models.py | |
parent | 8e840e151917892af8d8681781b231a1fc47d404 (diff) | |
download | stable-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.py | 2 |
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
|