diff options
author | kavorite <kavorite@gmail.com> | 2022-11-08 00:58:49 +0000 |
---|---|---|
committer | kavorite <kavorite@gmail.com> | 2022-11-08 00:58:49 +0000 |
commit | 9ed4a126bd6421f91bf4a9bdd348b6aef0a378c6 (patch) | |
tree | bbd56851ef1cb253a4d4479f85c18fc1dda9d3d2 /modules/shared.py | |
parent | d98eacea40c7a40227f36dbea9cf92f90489310b (diff) | |
download | stable-diffusion-webui-gfx803-9ed4a126bd6421f91bf4a9bdd348b6aef0a378c6.tar.gz stable-diffusion-webui-gfx803-9ed4a126bd6421f91bf4a9bdd348b6aef0a378c6.tar.bz2 stable-diffusion-webui-gfx803-9ed4a126bd6421f91bf4a9bdd348b6aef0a378c6.zip |
add gradio-inpaint-tool; color-sketch
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index d8e99f85..325e37d9 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -71,6 +71,7 @@ parser.add_argument("--ui-settings-file", type=str, help="filename to use for ui parser.add_argument("--gradio-debug", action='store_true', help="launch gradio with --debug option")
parser.add_argument("--gradio-auth", type=str, help='set gradio authentication like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"', default=None)
parser.add_argument("--gradio-img2img-tool", type=str, help='gradio image uploader tool: can be either editor for ctopping, or color-sketch for drawing', choices=["color-sketch", "editor"], default="editor")
+parser.add_argument("--gradio-inpaint-tool", type=str, choices=["sketch", "color-sketch"], default="sketch", help="gradio inpainting editor: can be either sketch to only blur/noise the input, or color-sketch to paint over it")
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)
|