You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--styles-file change to append str
--styles-file is [] then defaults to [styles.csv]
--styles-file accepts paths or paths with wildcard "*"
the first `--styles-file` entry is use as the default styles file path
if thers a "*" wildcard then the first matching file is used
if no match is found, create a new "styles.csv" in the same dir as the first path
when saving a new style it will be save in the default styles file
when saving a existing style, it will be saved to file it belongs to
order of the styles files in the styles dropdown can be controlled to a certain degree by the order of --styles-file
Copy file name to clipboardExpand all lines: modules/cmd_args.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@
88
88
parser.add_argument("--gradio-inpaint-tool", type=str, help="does not do anything")
89
89
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])
90
90
parser.add_argument("--opt-channelslast", action='store_true', help="change memory type for stable diffusion to channels last")
91
-
parser.add_argument("--styles-file", type=str, help="filename to use for styles", default=os.path.join(data_path, 'styles.csv'))
91
+
parser.add_argument("--styles-file", type=str, action='append', help="path or wildcard path of styles files, allow multiple entries.", default=[])
92
92
parser.add_argument("--autolaunch", action='store_true', help="open the webui URL in the system's default browser upon launch", default=False)
93
93
parser.add_argument("--theme", type=str, help="launches the UI with light or dark theme", default=None)
94
94
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)
0 commit comments