mirror of
https://github.com/anapnoe/stable-diffusion-webui-ux.git
synced 2026-09-19 17:25:09 +02:00
store the last generated result
This commit is contained in:
@@ -37,6 +37,7 @@ def wrap_gradio_gpu_call(func, extra_outputs=None):
|
||||
res = func(*args, **kwargs)
|
||||
finally:
|
||||
progress.finish_task(id_task)
|
||||
progress.set_last_task_result(id_task, res)
|
||||
|
||||
shared.state.end()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user