Support search and display of hashes for all extra network items

This commit is contained in:
catboxanon
2023-08-13 02:32:54 -04:00
parent da80d649fd
commit 7fa5ee54b1
5 changed files with 13 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ class ExtraNetworksPageCheckpoints(ui_extra_networks.ExtraNetworksPage):
return {
"name": checkpoint.name_for_extra,
"filename": checkpoint.filename,
"shorthash": checkpoint.shorthash,
"preview": self.find_preview(path),
"description": self.find_description(path),
"search_term": self.search_terms_from_path(checkpoint.filename) + " " + (checkpoint.sha256 or ""),