diff options
author | Vladimir Mandic <mandic00@live.com> | 2023-01-03 14:45:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 14:45:16 +0000 |
commit | aaa4c2aacbb6523077334093c81bd475d757f7a1 (patch) | |
tree | 781e5c369a593dd04c53c12999e10aa0bd4bf075 /modules/shared.py | |
parent | e9fb9bb0c25f59109a816fc53c385bed58965c24 (diff) | |
download | stable-diffusion-webui-gfx803-aaa4c2aacbb6523077334093c81bd475d757f7a1.tar.gz stable-diffusion-webui-gfx803-aaa4c2aacbb6523077334093c81bd475d757f7a1.tar.bz2 stable-diffusion-webui-gfx803-aaa4c2aacbb6523077334093c81bd475d757f7a1.zip |
add api logging
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 23657a93..2a03d716 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -82,6 +82,7 @@ parser.add_argument('--vae-path', type=str, help='Path to Variational Autoencode parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False)
parser.add_argument("--api", action='store_true', help="use api=True to launch the API together with the webui (use --nowebui instead for only the API)")
parser.add_argument("--api-auth", type=str, help='Set authentication for API like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"', default=None)
+parser.add_argument("--api-log", action='store_true', help="use api-log=True to enable logging of all API requests")
parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the API instead of the webui")
parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI")
parser.add_argument("--device-id", type=str, help="Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)", default=None)
|