some rights for extensions

This commit is contained in:
yfszzx 2022-10-25 15:33:43 +08:00
parent cb9d2f8705
commit ff305acd51
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit c50c03ac8fd2f6317d17d0c8c7c1ce26e6fe5cd7
Subproject commit c4b9f5c233c8619ee140b763e706edc26cae0f1d

View File

@ -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 = [