Skip to content

Commit

Permalink
Merge pull request #656 from yak1ex/add_lycoris_folder_to_fooocus_config
Browse files Browse the repository at this point in the history
Add a LyCORIS folder to path_loras in Fooocus config.
  • Loading branch information
mohnjiles authored May 28, 2024
2 parents 3d9c193 + 706f126 commit 75cb257
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 75cb257

Please sign in to comment.