Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit d3cd25f

Browse files
committed
Pipeline defaults
1 parent 6626eb5 commit d3cd25f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

OnnxStack.StableDiffusion/Pipelines/StableCascadePipeline.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ public StableCascadePipeline(PipelineOptions pipelineOptions, TokenizerModel tok
4848
};
4949
_defaultSchedulerOptions = defaultSchedulerOptions ?? new SchedulerOptions
5050
{
51-
InferenceSteps = 1,
52-
GuidanceScale = 0f,
51+
Width = 1024,
52+
Height = 1024,
53+
InferenceSteps = 20,
54+
GuidanceScale = 4f,
5355
SchedulerType = SchedulerType.DDPM
5456
};
5557
}

0 commit comments

Comments
 (0)