Fix total_steps in generation event, order field added

This commit is contained in:
Sergey Borisov
2023-08-09 03:34:25 +03:00
parent b4a74f6523
commit e98f7eda2e
3 changed files with 11 additions and 1 deletions

View File

@ -115,5 +115,6 @@ def stable_diffusion_step_callback(
source_node_id=source_node_id,
progress_image=ProgressImage(width=width, height=height, dataURL=dataURL),
step=intermediate_state.step,
total_steps=node["steps"],
order=intermediate_state.order,
total_steps=intermediate_state.total_steps,
)