mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 19:02:27 +00: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