From 11fdbdfeed01657d5149a8843dd5ee2a98c3f245 Mon Sep 17 00:00:00 2001 From: let <48136206+notlet@users.noreply.github.com> Date: Wed, 24 Apr 2024 23:26:28 +0300 Subject: [PATCH 1/2] Add AUR link to README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fd70ec3f..fc9cb21dd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ [release]: https://github.com/LykosAI/StabilityMatrix/releases/latest [download-win-x64]: https://github.com/LykosAI/StabilityMatrix/releases/latest/download/StabilityMatrix-win-x64.zip -[download-linux-x64]: https://github.com/LykosAI/StabilityMatrix/releases/latest/download/StabilityMatrix-linux-x64.zip +[download-linux-appimage-x64]: https://github.com/LykosAI/StabilityMatrix/releases/latest/download/StabilityMatrix-linux-x64.zip +[download-linux-aur-x64]: https://aur.archlinux.org/packages/stabilitymatrix [download-macos-arm64]: https://github.com/LykosAI/StabilityMatrix/releases/latest/download/StabilityMatrix-macos-arm64.dmg [auto1111]: https://github.com/AUTOMATIC1111/stable-diffusion-webui @@ -31,7 +32,8 @@ ![Header image for Stability Matrix, Multi-Platform Package Manager and Inference UI for Stable Diffusion](https://cdn.lykos.ai/static/sm-banner-rounded.webp) [![Windows](https://img.shields.io/badge/Windows%2010,%2011-%230079d5.svg?style=for-the-badge&logo=Windows%2011&logoColor=white)][download-win-x64] -[![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black)][download-linux-x64] +[![Linux (AppImage)](https://img.shields.io/badge/Linux%20(AppImage)-FCC624?style=for-the-badge&logo=linux&logoColor=black)][download-linux-appimage-x64] +[![Arch Linux (AUR)](https://img.shields.io/badge/Arch%20Linux%20(AUR)-1793D1?style=for-the-badge&logo=archlinux&logoColor=white)][download-linux-aur-x64] [![macOS](https://img.shields.io/badge/mac%20os%20%28apple%20silicon%29-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0)][download-macos-arm64] Multi-Platform Package Manager and Inference UI for Stable Diffusion From 706f1260355216746370dcdd8d91356a347b739a Mon Sep 17 00:00:00 2001 From: Yak! Date: Tue, 28 May 2024 01:12:30 +0900 Subject: [PATCH 2/2] Add a LyCORIS folder to path_loras in Fooocus config. --- StabilityMatrix.Core/Models/Packages/Fooocus.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/StabilityMatrix.Core/Models/Packages/Fooocus.cs b/StabilityMatrix.Core/Models/Packages/Fooocus.cs index fcaff9538..3899fa0ef 100644 --- a/StabilityMatrix.Core/Models/Packages/Fooocus.cs +++ b/StabilityMatrix.Core/Models/Packages/Fooocus.cs @@ -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");