diff --git a/README.md b/README.md index 5ab744c..41ac7da 100644 --- a/README.md +++ b/README.md @@ -18,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. 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)