diff options
author | space-nuko <24979496+space-nuko@users.noreply.github.com> | 2023-04-02 23:40:33 +0000 |
---|---|---|
committer | space-nuko <24979496+space-nuko@users.noreply.github.com> | 2023-04-02 23:40:33 +0000 |
commit | afc349c2c0d7c7543e8cc085cde2beef8549fffc (patch) | |
tree | 82eb31f3c31246486d41c958a840f06d69d1f471 /modules/extras.py | |
parent | d132481058f8a827cd407f2121f128a2bb862f7a (diff) | |
download | stable-diffusion-webui-gfx803-afc349c2c0d7c7543e8cc085cde2beef8549fffc.tar.gz stable-diffusion-webui-gfx803-afc349c2c0d7c7543e8cc085cde2beef8549fffc.tar.bz2 stable-diffusion-webui-gfx803-afc349c2c0d7c7543e8cc085cde2beef8549fffc.zip |
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.py | 1 |
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,
|