Report actual number of steps.

pull/73/head
Pedro Cuenca 3 years ago committed by Timothy Kautz
parent d9563fb586
commit f816ed816f

@ -219,7 +219,7 @@ public struct StableDiffusionPipeline: ResourceManaging {
pipeline: self, pipeline: self,
prompt: prompt, prompt: prompt,
step: step, step: step,
stepCount: stepCount, stepCount: timeSteps.count,
currentLatentSamples: latents, currentLatentSamples: latents,
isSafetyEnabled: canSafetyCheck && !disableSafety isSafetyEnabled: canSafetyCheck && !disableSafety
) )

Loading…
Cancel
Save