From 0a17c231301dba05c83edec041f9cf290213f1ba Mon Sep 17 00:00:00 2001 From: hjnasd <127509912+hjnasd@users.noreply.github.com> Date: Sat, 11 Mar 2023 11:48:31 +0000 Subject: [PATCH 1/2] Add support for symlinks when scanning. --- scripts/lib/model_action_civitai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/model_action_civitai.py b/scripts/lib/model_action_civitai.py index d188491..a80e285 100644 --- a/scripts/lib/model_action_civitai.py +++ b/scripts/lib/model_action_civitai.py @@ -18,7 +18,7 @@ def scan_model(max_size_preview, skip_nsfw_preview): # scan_log = "" for model_type, model_folder in model.folders.items(): util.printD("Scanning path: " + model_folder) - for root, dirs, files in os.walk(model_folder): + for root, dirs, files in os.walk(model_folder, followlinks=True): for filename in files: # check ext item = os.path.join(root, filename) From b4651e4bae34820c9ee3ca422a7d8b4211efa3c7 Mon Sep 17 00:00:00 2001 From: butaixianran Date: Sat, 11 Mar 2023 19:50:58 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0120afe..0e41129 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ ### Language [δΈ­ζ–‡](README.cn.md) +# Notice +After updating to new version, you need to shutdown SD webui and re-launch. Just Reload UI won't work! + # Stable-Diffusion-Webui-Civitai-Helper Stable Diffusion Webui Extension for Civitai, to handle your models much more easily. @@ -15,7 +18,7 @@ Civitai: [Civitai Url](https://civitai.com/models/16768/civitai-helper-sd-webui- - 🌐: Open this model's Civitai url in a new tab - πŸ’‘: Add this model's trigger words to prompt - 🏷: Use this model's preview image's prompt - + # Install Go to SD webui's extension tab, go to `Install from url` sub-tab.