Skip to content

Commit

Permalink
Add a LyCORIS folder to path_loras in Fooocus config.
Browse files Browse the repository at this point in the history
  • Loading branch information
yak1ex committed May 27, 2024
1 parent 3d9c193 commit 706f126
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion StabilityMatrix.Core/Models/Packages/Fooocus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,11 @@ await fooocusConfigPath.ReadAllTextAsync().ConfigureAwait(false)
}

fooocusConfig["path_checkpoints"] = Path.Combine(settingsManager.ModelsDirectory, "StableDiffusion");
fooocusConfig["path_loras"] = Path.Combine(settingsManager.ModelsDirectory, "Lora");
fooocusConfig["path_loras"] = new JsonArray
{
Path.Combine(settingsManager.ModelsDirectory, "Lora"),
Path.Combine(settingsManager.ModelsDirectory, "LyCORIS")
};
fooocusConfig["path_embeddings"] = Path.Combine(settingsManager.ModelsDirectory, "TextualInversion");
fooocusConfig["path_vae_approx"] = Path.Combine(settingsManager.ModelsDirectory, "ApproxVAE");
fooocusConfig["path_upscale_models"] = Path.Combine(settingsManager.ModelsDirectory, "ESRGAN");
Expand Down

0 comments on commit 706f126

Please sign in to comment.