aboutsummaryrefslogtreecommitdiff
path: root/modules/extras.py
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-04-02 18:40:33 -0500
committerspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-04-02 18:40:33 -0500
commitafc349c2c0d7c7543e8cc085cde2beef8549fffc (patch)
tree82eb31f3c31246486d41c958a840f06d69d1f471 /modules/extras.py
parentd132481058f8a827cd407f2121f128a2bb862f7a (diff)
Add field for model merge type
Incase this is supported by other merge extensions
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 77d88592..9a00c9a3 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -246,6 +246,7 @@ def run_modelmerger(id_task, primary_model_name, secondary_model_name, tertiary_
if save_metadata:
merge_recipe = {
+ "type": "webui", # indicate this model was merged with webui's built-in merger
"primary_model_hash": primary_model_info.sha256,
"secondary_model_hash": secondary_model_info.sha256 if secondary_model_info else None,
"tertiary_model_hash": tertiary_model_info.sha256 if tertiary_model_info else None,