aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-09-12 16:40:01 +0300
committerGitHub <noreply@github.com>2022-09-12 16:40:01 +0300
commit01f8de322926a518a791d8d750b402866eeca30b (patch)
treec85ca891394556b36cc049887d9fe86763923036 /modules/shared.py
parentb70b51cc7248f57dcf16add86701139432c21e5b (diff)
parent8c995be44d64b291ad6f51655fde5445ff94c1ff (diff)
Merge pull request #334 from C43H66N12O12S2/channels-last
Channels last support
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index c0f712c9..720519b0 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -44,6 +44,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("--channelslast", action='store_true', help="Enable Channels Last Memory Type")
cmd_opts = parser.parse_args()