diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-04 17:49:54 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-04 17:49:54 +0000 |
commit | b32852ef037251eb3d846af76e2965594e1ac7a5 (patch) | |
tree | 60b39363738ff72ae87191606ca672ae1b71e3fc /modules/shared.py | |
parent | 90e911fd546e76f879b38a764473569911a0f845 (diff) | |
download | stable-diffusion-webui-gfx803-b32852ef037251eb3d846af76e2965594e1ac7a5.tar.gz stable-diffusion-webui-gfx803-b32852ef037251eb3d846af76e2965594e1ac7a5.tar.bz2 stable-diffusion-webui-gfx803-b32852ef037251eb3d846af76e2965594e1ac7a5.zip |
add editor to img2img
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 ff4e5fa3..e52c9b1d 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -55,6 +55,7 @@ parser.add_argument("--hide-ui-dir-config", action='store_true', help="hide dire parser.add_argument("--ui-settings-file", type=str, help="filename to use for ui settings", default=os.path.join(script_path, 'config.json'))
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="color-sketch")
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)
|