Browse Source

fix tests & add pony

pull/512/head
JT 8 months ago
parent
commit
6cc3596c56
  1. 8
      StabilityMatrix.Core/Models/Api/CivitBaseModelType.cs
  2. 4
      StabilityMatrix.Core/Models/Packages/SDWebForge.cs

8
StabilityMatrix.Core/Models/Api/CivitBaseModelType.cs

@ -8,6 +8,9 @@ public enum CivitBaseModelType
{ {
All, All,
[StringValue("Pony")]
Pony,
[StringValue("SD 1.5")] [StringValue("SD 1.5")]
Sd15, Sd15,
@ -32,13 +35,14 @@ public enum CivitBaseModelType
[StringValue("SDXL Lightning")] [StringValue("SDXL Lightning")]
SdxlLightning, SdxlLightning,
[StringValue("SDXL Turbo")]
SdxlTurbo,
[StringValue("SVD")] [StringValue("SVD")]
SVD, SVD,
[StringValue("Stable Cascade")] [StringValue("Stable Cascade")]
StableCascade, StableCascade,
[StringValue("SDXL Turbo")]
SdxlTurbo,
Other, Other,
} }

4
StabilityMatrix.Core/Models/Packages/SDWebForge.cs

@ -178,5 +178,7 @@ public class SDWebForge(
} }
public override string? ExtraLaunchArguments { get; set; } = public override string? ExtraLaunchArguments { get; set; } =
$"--gradio-allowed-path \"{settingsManager.ImagesDirectory}\""; settingsManager.IsLibraryDirSet
? $"--gradio-allowed-path \"{settingsManager.ImagesDirectory}\""
: string.Empty;
} }

Loading…
Cancel
Save