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

Commit 1ba287a

Browse files
author
James Tayler
committed
move scheduler type to scheduler options
1 parent 82cd4aa commit 1ba287a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OnnxStack.IntegrationTests/StableDiffusionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ public async Task GivenTextToImage_WhenInference_ThenImageGenerated()
6464
Prompt = "an astronaut riding a horse in space",
6565
NegativePrompt = "blurry,ugly,cartoon",
6666
BatchCount = 1,
67-
SchedulerType = SchedulerType.EulerAncestral,
6867
DiffuserType = DiffuserType.TextToImage
6968
};
7069

7170
var scheduler = new SchedulerOptions
7271
{
7372
Width = 512,
7473
Height = 512,
74+
SchedulerType = SchedulerType.EulerAncestral,
7575
InferenceSteps = 10,
7676
GuidanceScale = 7.0f,
7777
Seed = 1

0 commit comments

Comments
 (0)