mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-07-21 21:01:24 +08:00
parser
This commit is contained in:
parent
3d7399f991
commit
f9c623251d
@ -3,10 +3,10 @@ import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from modules import paths_internal
|
||||
from modules.paths_internal import data_path, extensions_builtin_dir, extensions_dir, models_path, normalized_filepath, parser, script_path # noqa: F401
|
||||
from modules.paths_internal import parser as backend_parser
|
||||
|
||||
_parser = argparse.ArgumentParser(parents=[backend_parser], add_help=True)
|
||||
_parser = argparse.ArgumentParser(parents=[paths_internal.parser], add_help=True)
|
||||
_parser.add_argument("-f", action="store_true", help=argparse.SUPPRESS)
|
||||
|
||||
parser = _parser.add_argument_group(description="configs for launch_utils.py")
|
||||
@ -108,3 +108,4 @@ parser = _parser.add_argument_group(description="backward compatibility (these d
|
||||
parser.add_argument("--use-cpu", nargs="+", help="required by adetailer", default=[], type=str.lower)
|
||||
|
||||
parser = _parser
|
||||
paths_internal.parser = parser
|
||||
|
||||
Loading…
Reference in New Issue
Block a user