add metadata to checkpoint merger

This commit is contained in:
AUTOMATIC1111
2023-08-01 08:27:54 +03:00
parent 6d3a0c9506
commit 07be13caa3
3 changed files with 52 additions and 9 deletions

View File

@@ -85,7 +85,7 @@ class CheckpointInfo:
if self.shorthash not in self.ids:
self.ids += [self.shorthash, self.sha256, f'{self.name} [{self.shorthash}]']
checkpoints_list.pop(self.title)
checkpoints_list.pop(self.title, None)
self.title = f'{self.name} [{self.shorthash}]'
self.register()