Browse Source

Add SettingsManager.ImagesInferenceDirectory

pull/165/head
Ionite 1 year ago
parent
commit
39553b6701
No known key found for this signature in database
  1. 1
      StabilityMatrix.Core/Services/ISettingsManager.cs
  2. 1
      StabilityMatrix.Core/Services/SettingsManager.cs

1
StabilityMatrix.Core/Services/ISettingsManager.cs

@ -16,6 +16,7 @@ public interface ISettingsManager
string DownloadsDirectory { get; }
DirectoryPath TagsDirectory { get; }
DirectoryPath ImagesDirectory { get; }
DirectoryPath ImagesInferenceDirectory { get; }
Settings Settings { get; }

1
StabilityMatrix.Core/Services/SettingsManager.cs

@ -67,6 +67,7 @@ public class SettingsManager : ISettingsManager
public DirectoryPath TagsDirectory => new(LibraryDir, "Tags");
public DirectoryPath ImagesDirectory => new(LibraryDir, "Images");
public DirectoryPath ImagesInferenceDirectory => ImagesDirectory.JoinDir("Inference");
public Settings Settings { get; private set; } = new();

Loading…
Cancel
Save