This repository was archived by the owner on Nov 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
OnnxStack.StableDiffusion/Config Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 ; }
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments