diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-20 20:10:01 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-20 20:10:01 +0300 |
commit | 19a75d38d79f4c754510c4745440f0c60d89cb78 (patch) | |
tree | 916f34f9b843e07ece088cf855a185cae20da7d8 /modules/shared.py | |
parent | 06cd20610765aeb563700f377f1698a6e981b17d (diff) |
added --use-textbox-seed option to make long seeds possible from web ui
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 ae4efbee..75fb56a3 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -49,6 +49,8 @@ parser.add_argument("--gradio-auth", type=str, help='set gradio authentication l 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("--use-textbox-seed", action='store_true', help="use textbox for seeds in UI (no up/down, but possible to input long seeds)", default=False)
+
cmd_opts = parser.parse_args()
if cmd_opts.opt_split_attention:
|