From a85007b07a76cb4c727d42a333b02a574d993144 Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 9 Aug 2023 15:50:26 -0400 Subject: [PATCH] Add ComfyUpscalerType enum --- .../Models/Api/Comfy/ComfyUpscalerType.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 StabilityMatrix.Core/Models/Api/Comfy/ComfyUpscalerType.cs diff --git a/StabilityMatrix.Core/Models/Api/Comfy/ComfyUpscalerType.cs b/StabilityMatrix.Core/Models/Api/Comfy/ComfyUpscalerType.cs new file mode 100644 index 00000000..8986c798 --- /dev/null +++ b/StabilityMatrix.Core/Models/Api/Comfy/ComfyUpscalerType.cs @@ -0,0 +1,12 @@ +using System.Text.Json.Serialization; +using StabilityMatrix.Core.Converters.Json; + +namespace StabilityMatrix.Core.Models.Api.Comfy; + +[JsonConverter(typeof(DefaultUnknownEnumConverter))] +public enum ComfyUpscalerType +{ + Unknown, + Latent, + ESRGAN +}