stable-diffusion-webui/extensions-builtin/Lora/preload.py

7 lines
208 B
Python
Raw Normal View History

2023-01-21 13:11:37 -07:00
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'))