mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-04 06:59:59 +00:00
and dora etc - backend rework is 60% finished And I also removed the webui’s extremely annoying lora filter from model versions.
9 lines
505 B
Python
9 lines
505 B
Python
import os
|
|
from modules import paths
|
|
from modules.paths_internal import normalized_filepath
|
|
|
|
|
|
def preload(parser):
|
|
parser.add_argument("--lora-dir", type=normalized_filepath, help="Path to directory with Lora networks.", default=os.path.join(paths.models_path, 'Lora'))
|
|
parser.add_argument("--lyco-dir-backcompat", type=normalized_filepath, help="Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir).", default=os.path.join(paths.models_path, 'LyCORIS'))
|