stable-diffusion-webui/modules
EyeDeck 29a2933e23 Add --hide-ui-dir-config command line flag
Adds `--hide-ui-dir-config` flag to disable editing directory configs from the web UI. This can be set to prevent users from setting the directory to somewhere they shouldn't, for public (or semi-public) interfaces.

Directories are still read from config.json, so the server admin can still set them in the web UI and then relaunch with the hide flag, or edit the config manually.

Also:
- fix OptionInfo `component_args` keyword argument not being read if `component` isn't also set
- ensure that hidden settings aren't still read from the web UI (otherwise they could still be changed by tampering with the interface)
2022-09-11 16:00:42 -04:00
..
codeformer clarification for settings; another comment about copied files 2022-09-07 12:57:12 +03:00
artists.py added random artist button 2022-09-05 23:08:06 +03:00
codeformer_model.py undo CodeFormer's upscaling of images with dimensions less than 512. 2022-09-10 13:53:10 +03:00
devices.py CLIP interrogator 2022-09-11 18:48:36 +03:00
esrgam_model_arch.py ESRGAN support 2022-09-04 18:54:12 +03:00
esrgan_model.py Modular device management 2022-09-11 09:49:43 +03:00
extras.py [Feature Request] Save defaults for extras & keep image parameters after using extras #251 2022-09-11 11:31:16 +03:00
face_restoration.py codeformer support 2022-09-07 12:32:28 +03:00
gfpgan_model.py codeformer support 2022-09-07 12:32:28 +03:00
images.py [Feature Request] Save defaults for extras & keep image parameters after using extras #251 2022-09-11 11:31:16 +03:00
img2img.py Fixed prompt_style type hints: int -> str 2022-09-11 12:39:09 +03:00
interrogate.py CLIP interrogator 2022-09-11 18:48:36 +03:00
lowvram.py Modular device management 2022-09-11 09:49:43 +03:00
paths.py CLIP interrogator 2022-09-11 18:48:36 +03:00
processing.py Fixed prompt_style type hints: int -> str 2022-09-11 12:39:09 +03:00
realesrgan_model.py honor tiling settings for RealESRGAN also 2022-09-08 15:19:36 +03:00
scripts.py More informative progress printing 2022-09-08 17:05:17 +02:00
sd_hijack.py added --opt-split-attention-v1 2022-09-11 00:29:10 +03:00
sd_samplers.py fix for PLMS live previews in txt2img 2022-09-08 19:34:20 +03:00
shared.py Add --hide-ui-dir-config command line flag 2022-09-11 16:00:42 -04:00
styles.py Only create backup if path exists 2022-09-11 21:23:49 +03:00
txt2img.py Fixed prompt_style type hints: int -> str 2022-09-11 12:39:09 +03:00
ui.py Add --hide-ui-dir-config command line flag 2022-09-11 16:00:42 -04:00