diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-07-28 16:07:35 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-04 03:44:52 +0000 |
commit | bbfff771d7337707bf501b27f98da2f7a7c06f73 (patch) | |
tree | 170038787d56a73c35dbd7bd307c1317893fbf3d /modules/cmd_args.py | |
parent | 25004d4eeef015d8f886c537d3a5a9f54d07898e (diff) | |
download | stable-diffusion-webui-gfx803-bbfff771d7337707bf501b27f98da2f7a7c06f73.tar.gz stable-diffusion-webui-gfx803-bbfff771d7337707bf501b27f98da2f7a7c06f73.tar.bz2 stable-diffusion-webui-gfx803-bbfff771d7337707bf501b27f98da2f7a7c06f73.zip |
--disable-all-extensions --disable-extra-extensions
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r-- | modules/cmd_args.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py index dd5fadc4..1262f1a4 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -111,3 +111,5 @@ parser.add_argument('--subpath', type=str, help='customize the subpath for gradi parser.add_argument('--add-stop-route', action='store_true', help='add /_stop route to stop server')
parser.add_argument('--api-server-stop', action='store_true', help='enable server stop/restart/kill via api')
parser.add_argument('--timeout-keep-alive', type=int, default=30, help='set timeout_keep_alive for uvicorn')
+parser.add_argument("--disable-all-extensions", action='store_true', help="prevent all extensions from running regardless of any other settings", default=False)
+parser.add_argument("--disable-extra-extensions", action='store_true', help=" prevent all extensions except built-in from running regardless of any other settings", default=False)
|