mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 22:53:25 +03:00
b6e5edd746
add support for adding upscalers in extensions move LDSR, ScuNET and SwinIR to built-in extensions
7 lines
227 B
Python
7 lines
227 B
Python
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'))
|