diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-29 05:48:11 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-29 05:48:11 +0000 |
commit | af547f63c39156f89f6a05c86a12109f05c2235e (patch) | |
tree | dfec8957021ab349db372c99c045683e7e8000e1 /modules/shared.py | |
parent | a1e5e0d7669def010ecf31d801d6f0667bcf8061 (diff) | |
parent | 3c207ca68483b3406faf519bde2743b578dac222 (diff) | |
download | stable-diffusion-webui-gfx803-af547f63c39156f89f6a05c86a12109f05c2235e.tar.gz stable-diffusion-webui-gfx803-af547f63c39156f89f6a05c86a12109f05c2235e.tar.bz2 stable-diffusion-webui-gfx803-af547f63c39156f89f6a05c86a12109f05c2235e.zip |
Merge branch 'Inspiron'
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 7e634423..5d1ceb85 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", action='store_true', help="Administrator rights", default=False)
cmd_opts = parser.parse_args()
restricted_opts = {
@@ -279,6 +280,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "filter_nsfw": OptionInfo(False, "Filter NSFW content"),
'CLIP_stop_at_last_layers': OptionInfo(1, "Stop At last layers of CLIP model", gr.Slider, {"minimum": 1, "maximum": 12, "step": 1}),
"random_artist_categories": OptionInfo([], "Allowed categories for random artists selection when using the Roll button", gr.CheckboxGroup, {"choices": artist_db.categories()}),
+ "send_seed": OptionInfo(False, "Send seed when sending prompt or image to other interface"),
}))
options_templates.update(options_section(('interrogate', "Interrogate Options"), {
|