diff options
author | yfszzx <yfszzx@gmail.com> | 2022-10-25 15:33:43 +0800 |
---|---|---|
committer | yfszzx <yfszzx@gmail.com> | 2022-10-25 15:33:43 +0800 |
commit | ff305acd51cc71c5eea8aee0f537a26a6d1ba2a1 (patch) | |
tree | 2130720f25a1af685594e85b807f52ecdab49b0c /modules/shared.py | |
parent | cb9d2f87057341b0e0de94bc63736b8f471ad1af (diff) |
some rights for extensions
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 76cbb1bd..7b1fadf2 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -82,6 +82,7 @@ parser.add_argument("--api", action='store_true', help="use api=True to launch t 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)
+parser.add_argument("--administrator", type=str, help="Administrator rights", default=None)
cmd_opts = parser.parse_args()
restricted_opts = [
|