Skip to content

Commit

Permalink
Quickly adding unet path for ComfyUI
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydk committed Aug 15, 2024
1 parent baf7331 commit ec4c62e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion StabilityMatrix.Core/Models/Packages/ComfyUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ IPrerequisiteHelper prerequisiteHelper
[SharedFolderType.InvokeIpAdapters15] = new[] { "models/ipadapter/sd15" },
[SharedFolderType.InvokeIpAdaptersXl] = new[] { "models/ipadapter/sdxl" },
[SharedFolderType.T2IAdapter] = new[] { "models/controlnet/T2IAdapter" },
[SharedFolderType.PromptExpansion] = new[] { "models/prompt_expansion" }
[SharedFolderType.PromptExpansion] = new[] { "models/prompt_expansion" },
[SharedFolderType.Unet] = new[] { "models/unet" }
};

public override Dictionary<SharedOutputType, IReadOnlyList<string>>? SharedOutputFolders =>
Expand Down
3 changes: 2 additions & 1 deletion StabilityMatrix.Core/Models/SharedFolderType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ public enum SharedFolderType
InvokeClipVision = 1 << 26,
SVD = 1 << 27,

PromptExpansion = 1 << 30
PromptExpansion = 1 << 30,
Unet = 1 << 31
}

0 comments on commit ec4c62e

Please sign in to comment.