Skip to content

Commit

Permalink
Pipeline defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
saddam213 committed Apr 25, 2024
1 parent 6626eb5 commit d3cd25f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions OnnxStack.StableDiffusion/Pipelines/StableCascadePipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ public StableCascadePipeline(PipelineOptions pipelineOptions, TokenizerModel tok
};
_defaultSchedulerOptions = defaultSchedulerOptions ?? new SchedulerOptions
{
InferenceSteps = 1,
GuidanceScale = 0f,
Width = 1024,
Height = 1024,
InferenceSteps = 20,
GuidanceScale = 4f,
SchedulerType = SchedulerType.DDPM
};
}
Expand Down

0 comments on commit d3cd25f

Please sign in to comment.