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

7 lines
227 B
Python
Raw Permalink Normal View History

import os
from modules import paths
def preload(parser):
parser.add_argument("--scunet-models-path", type=str, help="Path to directory with ScuNET model file(s).", default=os.path.join(paths.models_path, 'ScuNET'))