butaixianran 2023-03-11 20:07:19 +08:00
commit 21452fd823
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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)