aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cmd_args.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-09 17:49:33 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-09 17:49:33 +0000
commitedfae9e78af23bdd6161c55c7ec88533de8925f8 (patch)
tree2659368f56fc6ba8616c53c6c9724140ced98859 /modules/cmd_args.py
parentc7b9394daf9efc5da8e56007199c3fc3e7439f92 (diff)
downloadstable-diffusion-webui-gfx803-edfae9e78af23bdd6161c55c7ec88533de8925f8.tar.gz
stable-diffusion-webui-gfx803-edfae9e78af23bdd6161c55c7ec88533de8925f8.tar.bz2
stable-diffusion-webui-gfx803-edfae9e78af23bdd6161c55c7ec88533de8925f8.zip
add --loglevel commandline argument for logging
remove the progressbar for extension installation in favor of logging output
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r--modules/cmd_args.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py
index 64f21e01..b0a11538 100644
--- a/modules/cmd_args.py
+++ b/modules/cmd_args.py
@@ -16,6 +16,7 @@ parser.add_argument("--test-server", action='store_true', help="launch.py argume
parser.add_argument("--log-startup", action='store_true', help="launch.py argument: print a detailed log of what's happening at startup")
parser.add_argument("--skip-prepare-environment", action='store_true', help="launch.py argument: skip all environment preparation")
parser.add_argument("--skip-install", action='store_true', help="launch.py argument: skip installation of packages")
+parser.add_argument("--loglevel", type=str, help="log level; one of: CRITICAL, ERROR, WARNING, INFO, DEBUG", default=None)
parser.add_argument("--do-not-download-clip", action='store_true', help="do not download CLIP model even if it's not included in the checkpoint")
parser.add_argument("--data-dir", type=str, default=os.path.dirname(os.path.dirname(os.path.realpath(__file__))), help="base path where all user data is stored")
parser.add_argument("--config", type=str, default=sd_default_config, help="path to config which constructs model",)