From e66fe42f4e8a5021bbf430f8a7d990a4b4bd4f92 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 30 Apr 2024 08:17:44 -0400 Subject: [PATCH] fix control on non-active tab --- CHANGELOG.md | 2 +- modules/control/run.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be1d7621..49050c0dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ Thanks to @BinaryQuantumSoul for his hard work on this project! Given huge number of changes with *+3443/-3342 commits diff over the past year, a completely different backend/engine and a change of focus, it is time to give credit to original [author](https://github.com/auTOMATIC1111), and move on! -## Update for 2024-04-28 +## Update for 2024-04-30 - **Features**: - **ModernUI** preview of the new [ModernUI](https://github.com/BinaryQuantumSoul/sdnext-modernui) diff --git a/modules/control/run.py b/modules/control/run.py index c90ea9675..138972b9b 100644 --- a/modules/control/run.py +++ b/modules/control/run.py @@ -158,6 +158,7 @@ def control_run(units: List[unit.Unit] = [], inputs: List[Image.Image] = [], ini shared.log.warning('Model not loaded') return [], '', '', 'Error: model not loaded' + unit_type = unit_type.strip().lower() if unit_type is not None else '' t0 = time.time() num_units = 0 for u in units: