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.
 
 
 

22 lines
572 B

using CommunityToolkit.Mvvm.ComponentModel;
using StabilityMatrix.Avalonia.Controls;
using StabilityMatrix.Avalonia.ViewModels.Base;
using StabilityMatrix.Core.Attributes;
namespace StabilityMatrix.Avalonia.ViewModels.Inference;
[View(typeof(BatchSizeCard))]
public partial class BatchSizeCardViewModel : LoadableViewModelBase
{
[ObservableProperty]
private int batchSize = 1;
[ObservableProperty]
private int batchCount = 1;
[ObservableProperty]
private bool isBatchIndexEnabled;
[ObservableProperty]
private int batchIndex = 1;
}