aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_extra_networks_checkpoints.py
diff options
context:
space:
mode:
authorcatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-13 06:32:54 +0000
committercatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-13 06:32:54 +0000
commit7fa5ee54b15904bef6598800df76ba1291d44ec6 (patch)
treef29f1f0781e59ba4af220f375a24b5f976fbac74 /modules/ui_extra_networks_checkpoints.py
parentda80d649fd6a6083be02aca5695367bd25abf0d5 (diff)
downloadstable-diffusion-webui-gfx803-7fa5ee54b15904bef6598800df76ba1291d44ec6.tar.gz
stable-diffusion-webui-gfx803-7fa5ee54b15904bef6598800df76ba1291d44ec6.tar.bz2
stable-diffusion-webui-gfx803-7fa5ee54b15904bef6598800df76ba1291d44ec6.zip
Support search and display of hashes for all extra network items
Diffstat (limited to 'modules/ui_extra_networks_checkpoints.py')
-rw-r--r--modules/ui_extra_networks_checkpoints.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ui_extra_networks_checkpoints.py b/modules/ui_extra_networks_checkpoints.py
index 77885022..ebb5249f 100644
--- a/modules/ui_extra_networks_checkpoints.py
+++ b/modules/ui_extra_networks_checkpoints.py
@@ -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 ""),