Download extensions-builtin/Lora/preload.py from TenAI/stable-diffusion-webui: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/TenAI/stable-diffusion-webui/resolve/main/extensions-builtin/Lora/preload.py
- Command line
-
hf download hf://TenAI/stable-diffusion-webui/extensions-builtin/Lora/preload.py
-
curl -L -o preload.py https://huggingface.co/TenAI/stable-diffusion-webui/resolve/main/extensions-builtin/Lora/preload.py
208 Bytes
| import os | |
| from modules import paths | |
| def preload(parser): | |
| parser.add_argument("--lora-dir", type=str, help="Path to directory with Lora networks.", default=os.path.join(paths.models_path, 'Lora')) | |