revert: restore state tracking in control/run.py

This commit is contained in:
CalamitousFelicitousness
2026-01-11 23:03:59 +00:00
parent 2fd52ae230
commit 9f6e34371f
+2
View File
@@ -679,5 +679,7 @@ def control_run(state: str = '', # pylint: disable=keyword-arg-before-vararg
if len(info_txt) > 0:
html_txt = html_txt + infotext_to_html(info_txt[0])
if is_generator:
jobid = shared.state.begin('UI')
yield (output_images, blended_image, html_txt, output_filename)
shared.state.end(jobid)
return (output_images, blended_image, html_txt, output_filename)