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,
[StringValue("Pony")]
Pony,
[StringValue("SD 1.5")]
Sd15,
@ -32,13 +35,14 @@ public enum CivitBaseModelType
[StringValue("SDXL Lightning")]
SdxlLightning,
[StringValue("SDXL Turbo")]
SdxlTurbo,
[StringValue("SVD")]
SVD,
[StringValue("Stable Cascade")]
StableCascade,
[StringValue("SDXL Turbo")]
SdxlTurbo,
Other,
}

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

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

Loading…
Cancel
Save