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.
|
|
|
using AvaloniaEdit.Document;
|
|
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
using StabilityMatrix.Avalonia.Controls;
|
|
|
|
using StabilityMatrix.Core.Attributes;
|
|
|
|
|
|
|
|
namespace StabilityMatrix.Avalonia.ViewModels.Inference;
|
|
|
|
|
|
|
|
[View(typeof(PromptCard))]
|
|
|
|
public partial class PromptCardViewModel : LoadableViewModelBase
|
|
|
|
{
|
|
|
|
public TextDocument PromptDocument { get; } = new();
|
|
|
|
public TextDocument NegativePromptDocument { get; } = new();
|
|
|
|
|
|
|
|
[ObservableProperty] private int editorFontSize = 14;
|
|
|
|
|
|
|
|
[ObservableProperty] private string editorFontFamily = "Consolas";
|
|
|
|
}
|