File size: 407 Bytes
ad93086
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def preload(parser):
    parser.add_argument(
        "--controlnet-loglevel",
        default="INFO",
        choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
        help="Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)",
    )
    parser.add_argument(
        "--controlnet-tracemalloc",
        action="store_true",
        help="Enable memory tracing.",
        default=None,
    )