diff options
author | Michoko <michoko@hotmail.com> | 2022-10-17 18:24:24 +0200 |
---|---|---|
committer | Michoko <michoko@hotmail.com> | 2022-10-17 18:24:24 +0200 |
commit | 665beebc0825a6fad410c8252f27f6f6f0bd900b (patch) | |
tree | 1c4d9ddcc19decef0dbf0403eb5de8efa3c71bd3 /modules/shared.py | |
parent | 8c6a981d5d9ef30381ac2327460285111550acbc (diff) |
Use of a --theme argument for more flexibility
Added possibility to set the theme (light or dark)
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index cbf158e4..fa084c69 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -69,7 +69,7 @@ parser.add_argument("--gradio-img2img-tool", type=str, help='gradio image upload parser.add_argument("--opt-channelslast", action='store_true', help="change memory type for stable diffusion to channels last")
parser.add_argument("--styles-file", type=str, help="filename to use for styles", default=os.path.join(script_path, 'styles.csv'))
parser.add_argument("--autolaunch", action='store_true', help="open the webui URL in the system's default browser upon launch", default=False)
-parser.add_argument("--dark-mode", action='store_true', help="launches the UI in dark mode", default=False)
+parser.add_argument("--theme", type=str, help="launches the UI with light or dark theme", default=None)
parser.add_argument("--use-textbox-seed", action='store_true', help="use textbox for seeds in UI (no up/down, but possible to input long seeds)", default=False)
parser.add_argument("--disable-console-progressbars", action='store_true', help="do not output progressbars to console", default=False)
parser.add_argument("--enable-console-prompts", action='store_true', help="print prompts to console when generating with txt2img and img2img", default=False)
|