aboutsummaryrefslogtreecommitdiff
path: root/extensions-builtin/Lora/preload.py
blob: 50961be33d7e29214b00b6e69daf0c3e5e8f108c (plain)
1
2
3
4
5
6
7
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'))
    parser.add_argument("--lyco-dir-backcompat", type=str, help="Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir).", default=os.path.join(paths.models_path, 'LyCORIS'))