From 90d3fdba43eeec9073a30540b12830ace4a6c918 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 15 Jan 2024 07:39:15 -0500 Subject: [PATCH] fix disable faceid --- CHANGELOG.md | 2 +- scripts/faceid.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcd6998d7..9f59f4e17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for SD.Next -## Update for 2023-01-14 +## Update for 2023-01-15 Another release with a lot more functionality in new Control module and FaceID & IPAdapter modules Plus welcome additions to UI performance and accessibility and flexibility of deployment diff --git a/scripts/faceid.py b/scripts/faceid.py index 0b739832d..c60e2ebf1 100644 --- a/scripts/faceid.py +++ b/scripts/faceid.py @@ -179,10 +179,13 @@ class Script(scripts.Script): # run generate images = [] + + ip_model.set_scale(scale) for _i in range(p.n_iter): res = ip_model.generate(**ip_model_dict) if isinstance(res, list): images += res + ip_model.set_scale(0) if not cache: ip_model = None