From 35ef02bdf77ec69975ed6c6b38fde66f06f06af3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 1 Apr 2024 18:21:15 +1100 Subject: [PATCH] fix(ui): denoise percentage --- .../frontend/web/src/features/system/store/systemSlice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/system/store/systemSlice.ts b/invokeai/frontend/web/src/features/system/store/systemSlice.ts index 66bbe15376..46593c9949 100644 --- a/invokeai/frontend/web/src/features/system/store/systemSlice.ts +++ b/invokeai/frontend/web/src/features/system/store/systemSlice.ts @@ -107,12 +107,12 @@ export const systemSlice = createSlice({ * Generator Progress */ builder.addCase(socketGeneratorProgress, (state, action) => { - const { step, total_steps, progress_image, session_id, batch_id } = action.payload.data; + const { step, total_steps, progress_image, session_id, batch_id, percentage } = action.payload.data; state.denoiseProgress = { step, total_steps, - percentage: step / total_steps, + percentage, progress_image, session_id, batch_id,