Report actual number of steps.

pull/116/head
Pedro Cuenca 1 year ago committed by Timothy Kautz
parent 73927da7f9
commit 2e05ad1386

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

Loading…
Cancel
Save