Ionite
12 months ago
2 changed files with 5 additions and 2 deletions
@ -1,12 +1,14 @@ |
|||||||
using System.Text.Json.Serialization; |
using System.Text.Json.Serialization; |
||||||
|
using StabilityMatrix.Core.Converters.Json; |
||||||
|
|
||||||
namespace StabilityMatrix.Core.Models.Api; |
namespace StabilityMatrix.Core.Models.Api; |
||||||
|
|
||||||
|
[JsonConverter(typeof(DefaultUnknownEnumConverter<CivitModelFormat>))] |
||||||
[JsonConverter(typeof(JsonStringEnumConverter))] |
|
||||||
public enum CivitModelFormat |
public enum CivitModelFormat |
||||||
{ |
{ |
||||||
|
Unknown, |
||||||
SafeTensor, |
SafeTensor, |
||||||
PickleTensor, |
PickleTensor, |
||||||
|
Diffusers, |
||||||
Other |
Other |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue