Skip to content

Commit

Permalink
add backup logic for sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
yansigit committed Dec 23, 2024
1 parent 21b78c2 commit d0e41f0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,12 @@ out var res
)
? res
: null;

if (sampler is null && SelectedSampler is not null && SelectedScheduler is not null)
{
sampler = $"{SelectedSampler?.DisplayName} {SelectedScheduler?.DisplayName}";
}

return parameters with
{
Width = Width,
Expand Down

0 comments on commit d0e41f0

Please sign in to comment.