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.

24 lines
607 B

using System.ComponentModel.DataAnnotations;
using CommunityToolkit.Mvvm.ComponentModel;
using StabilityMatrix.Avalonia.Controls;
using StabilityMatrix.Avalonia.ViewModels.Base;
using StabilityMatrix.Core.Attributes;
namespace StabilityMatrix.Avalonia.ViewModels.Inference;
[View(typeof(SharpenCard))]
public partial class SharpenCardViewModel : LoadableViewModelBase
{
[Range(1, 31)]
[ObservableProperty]
private int sharpenRadius = 1;
[Range(0.1, 10)]
[ObservableProperty]
private double sigma = 1;
[Range(0, 5)]
[ObservableProperty]
private double alpha = 1;
}