diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-23 22:22:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 22:22:37 +0300 |
commit | c17f7ee694a42ad09b570755a1562e9ab5ba2b73 (patch) | |
tree | 09dcd3979e9532e4ea0687991149c78a66b176bc /modules/cmd_args.py | |
parent | de5a8c5cb4000408522e80c9917b71ce3228b616 (diff) | |
parent | 25e8273d2f6481deca221b29d35093f6d0c9da6a (diff) |
Merge pull request #14707 from AUTOMATIC1111/multi-styles-base-styles-file
re-work multi --styles-file
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r-- | modules/cmd_args.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py index e58059a1..f1251b6c 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -88,7 +88,7 @@ parser.add_argument("--gradio-img2img-tool", type=str, help='does not do anythin parser.add_argument("--gradio-inpaint-tool", type=str, help="does not do anything")
parser.add_argument("--gradio-allowed-path", action='append', help="add path to gradio's allowed_paths, make it possible to serve files from it", default=[data_path])
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(data_path, 'styles.csv'))
+parser.add_argument("--styles-file", type=str, action='append', help="path or wildcard path of styles files, allow multiple entries.", default=[])
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("--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)
|