diff --git a/StabilityMatrix.Avalonia/Controls/SamplerCard.axaml b/StabilityMatrix.Avalonia/Controls/SamplerCard.axaml index 6bf2c4d1..82dc4989 100644 --- a/StabilityMatrix.Avalonia/Controls/SamplerCard.axaml +++ b/StabilityMatrix.Avalonia/Controls/SamplerCard.axaml @@ -60,21 +60,44 @@ SpinButtonPlacementMode="Inline"/> - + + + + + + + + + + + + diff --git a/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs index 1f57e804..caedc169 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs @@ -10,6 +10,8 @@ public partial class SamplerCardViewModel : ViewModelBase { [ObservableProperty] private int steps; [ObservableProperty] private double cfgScale; + [ObservableProperty] private int width; + [ObservableProperty] private int height; [ObservableProperty] private string? selectedSampler; [ObservableProperty] private IReadOnlyList samplers = new List();