Files
sd-webui-faceswaplab/preload.py
T
2023-07-28 20:47:14 +02:00

11 lines
313 B
Python

from argparse import ArgumentParser
def preload(parser: ArgumentParser) -> None:
parser.add_argument(
"--faceswaplab_loglevel",
default="INFO",
choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
help="Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)",
)