mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-19 17:47:25 -05: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