Browse Source

Add LayerDiffuseModule as Sampler addon option

pull/629/head
Ionite 8 months ago
parent
commit
52b32f9227
No known key found for this signature in database
  1. 7
      StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs

7
StabilityMatrix.Avalonia/ViewModels/Inference/SamplerCardViewModel.cs

@ -109,7 +109,12 @@ public partial class SamplerCardViewModel : LoadableViewModelBase, IParametersLo
ModulesCardViewModel = vmFactory.Get<StackEditableCardViewModel>(modulesCard =>
{
modulesCard.Title = Resources.Label_Addons;
modulesCard.AvailableModules = [typeof(FreeUModule), typeof(ControlNetModule)];
modulesCard.AvailableModules =
[
typeof(FreeUModule),
typeof(ControlNetModule),
typeof(LayerDiffuseModule)
];
});
}

Loading…
Cancel
Save