mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-02 17:05:18 -05:00
fix preview progress bar pre-denoise
This commit is contained in:
committed by
psychedelicious
parent
c74afbf332
commit
58152ec981
@@ -33,7 +33,7 @@ class PreviewExt(ExtensionBase):
|
||||
def initial_preview(self, ctx: DenoiseContext):
|
||||
self.callback(
|
||||
PipelineIntermediateState(
|
||||
step=-1,
|
||||
step=0,
|
||||
order=ctx.scheduler.order,
|
||||
total_steps=len(ctx.inputs.timesteps),
|
||||
timestep=int(ctx.scheduler.config.num_train_timesteps), # TODO: is there any code which uses it?
|
||||
|
||||
Reference in New Issue
Block a user