aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extras.py')
-rw-r--r--modules/extras.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/extras.py b/modules/extras.py
index 9a00c9a3..97d14e5a 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -263,6 +263,7 @@ def run_modelmerger(id_task, primary_model_name, secondary_model_name, tertiary_
metadata["merge_recipe"] = json.dumps(merge_recipe)
def add_model_metadata(checkpoint_info):
+ checkpoint_info.calculate_shorthash()
metadata["models"][checkpoint_info.sha256] = {
"name": checkpoint_info.name,
"legacy_hash": checkpoint_info.hash,