Fix the RNG is not passed into pipelineConfig.

pull/124/head
Liu Liu 1 year ago
parent 09602864d6
commit a07e69ac5d

@ -129,6 +129,7 @@ struct StableDiffusionSample: ParsableCommand {
pipelineConfig.seed = seed
pipelineConfig.guidanceScale = guidanceScale
pipelineConfig.schedulerType = scheduler.stableDiffusionScheduler
pipelineConfig.rngType = rng.stableDiffusionRNG
let images = try pipeline.generateImages(
configuration: pipelineConfig,

Loading…
Cancel
Save