fix control on non-active tab

pull/3111/head
Vladimir Mandic 2024-04-30 08:17:44 -04:00
parent 8f5d97e817
commit e66fe42f4e
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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: