mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix control on non-active tab
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user