cn always generate blended processed image

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-07-18 18:19:56 -04:00
parent 1b36607bce
commit e576ea4319
4 changed files with 16 additions and 13 deletions
+3 -1
View File
@@ -506,7 +506,9 @@ def control_run(state: str = '', # pylint: disable=keyword-arg-before-vararg
continue
index += 1
processed_image = preprocess_image(p, pipe, input_image, init_image, mask, input_type, unit_type, active_process, active_model, selected_models, has_models)
processed_image, blended_image = preprocess_image(p, pipe, input_image, init_image, mask, input_type, unit_type, active_process, active_model, selected_models, has_models)
if is_generator:
yield (None, blended_image, '') # result is control_output, proces_output
# final check
if has_models: