diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-12-03 07:06:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 07:06:27 +0000 |
commit | 5cd5a672f7889dcc018c3873ec557d645ebe35d0 (patch) | |
tree | ebc137b53a52076eda5f07be232c8cd791a85f05 /modules/shared.py | |
parent | a2feaa95fc0c4c94131eb75b5b1bc0eaa1696551 (diff) | |
parent | 59bb1d36ea69db449cfe23be4988ab4f6711bf4b (diff) | |
download | stable-diffusion-webui-gfx803-5cd5a672f7889dcc018c3873ec557d645ebe35d0.tar.gz stable-diffusion-webui-gfx803-5cd5a672f7889dcc018c3873ec557d645ebe35d0.tar.bz2 stable-diffusion-webui-gfx803-5cd5a672f7889dcc018c3873ec557d645ebe35d0.zip |
Merge pull request #4459 from kavorite/color-sketch-inpainting
add `--gradio-inpaint-tool` and option to specify `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 42ec4120..8202d8e5 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -72,6 +72,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)
|