aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC43H66N12O12S2 <36072735+C43H66N12O12S2@users.noreply.github.com>2022-09-12 16:27:23 +0300
committerGitHub <noreply@github.com>2022-09-12 16:27:23 +0300
commit8c995be44d64b291ad6f51655fde5445ff94c1ff (patch)
treeb3eaa93807c25d0b13b5f4f035fa1b792800ac8e
parentfbeadef1308a551aead705024df86c51242e7e62 (diff)
Add cmd option for channels last
-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()