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

Commit 68cde10

Browse files
committed
Remove pre-process flag
1 parent 2930ae1 commit 68cde10

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

OnnxStack.StableDiffusion/Config/SchedulerOptions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public record SchedulerOptions
8585
public float AestheticNegativeScore { get; set; } = 2.5f;
8686

8787
public float ConditioningScale { get; set; } = 0.7f;
88-
public bool IsControlImageProcessingEnabled { get; set; }
8988

9089
public bool IsKarrasScheduler
9190
{

OnnxStack.UI/Models/SchedulerOptionsModel.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public class SchedulerOptionsModel : INotifyPropertyChanged
3333
private int _originalInferenceSteps = 100;
3434
private SchedulerType _schedulerType;
3535
private float _conditioningScale = 0.7f;
36-
private bool _isControlImageProcessingEnabled = true;
3736
private bool _hasChanged;
3837

3938
/// <summary>
@@ -209,12 +208,6 @@ public float ConditioningScale
209208
set { _conditioningScale = value; NotifyPropertyChanged(); }
210209
}
211210

212-
public bool IsControlImageProcessingEnabled
213-
{
214-
get { return _isControlImageProcessingEnabled; }
215-
set { _isControlImageProcessingEnabled = value; NotifyPropertyChanged(); }
216-
}
217-
218211
public bool HasChanged
219212
{
220213
get { return _hasChanged; }

OnnxStack.UI/Utils.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ public static SchedulerOptions ToSchedulerOptions(this SchedulerOptionsModel mod
103103
VarianceType = model.VarianceType,
104104
OriginalInferenceSteps = model.OriginalInferenceSteps,
105105
SchedulerType = model.SchedulerType,
106-
ConditioningScale = model.ConditioningScale,
107-
IsControlImageProcessingEnabled = model.IsControlImageProcessingEnabled
106+
ConditioningScale = model.ConditioningScale
108107
};
109108
}
110109

@@ -136,8 +135,7 @@ public static SchedulerOptionsModel ToSchedulerOptionsModel(this SchedulerOption
136135
VarianceType = model.VarianceType,
137136
OriginalInferenceSteps = model.OriginalInferenceSteps,
138137
SchedulerType = model.SchedulerType,
139-
ConditioningScale = model.ConditioningScale,
140-
IsControlImageProcessingEnabled = model.IsControlImageProcessingEnabled
138+
ConditioningScale = model.ConditioningScale
141139
};
142140
}
143141

0 commit comments

Comments
 (0)