mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
add --lora-dir commandline option
This commit is contained in:
6
extensions-builtin/Lora/preload.py
Normal file
6
extensions-builtin/Lora/preload.py
Normal file
@@ -0,0 +1,6 @@
|
||||
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'))
|
Reference in New Issue
Block a user