Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
642 B

using System.Collections.Generic;
using CommunityToolkit.Mvvm.ComponentModel;
using StabilityMatrix.Avalonia.Controls;
using StabilityMatrix.Core.Attributes;
namespace StabilityMatrix.Avalonia.ViewModels.Inference;
[View(typeof(SamplerCard))]
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<string> samplers = new List<string>();
}