aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorMalumaDev <piano.lu92@gmail.com>2022-10-16 15:55:58 +0000
committerGitHub <noreply@github.com>2022-10-16 15:55:58 +0000
commitae0fdad64a7a61a18b4ec09f66bc81405b96c0bd (patch)
treeecebdbf8d9179f35336d776b4be56fac86aa4169 /modules/shared.py
parent9324cdaa3199d65c182858785dd1eca42b192b8e (diff)
parentc57919ea2a8e4a23a05d21f28928e08bbf34c59e (diff)
downloadstable-diffusion-webui-gfx803-ae0fdad64a7a61a18b4ec09f66bc81405b96c0bd.tar.gz
stable-diffusion-webui-gfx803-ae0fdad64a7a61a18b4ec09f66bc81405b96c0bd.tar.bz2
stable-diffusion-webui-gfx803-ae0fdad64a7a61a18b4ec09f66bc81405b96c0bd.zip
Merge branch 'master' into test_resolve_conflicts
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 e19ca779..7946d603 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -43,6 +43,7 @@ parser.add_argument("--unload-gfpgan", action='store_true', help="does not do an
parser.add_argument("--precision", type=str, help="evaluate at this precision", choices=["full", "autocast"], default="autocast")
parser.add_argument("--share", action='store_true', help="use share=True for gradio and make the UI accessible through their site (doesn't work for me but you might have better luck)")
parser.add_argument("--ngrok", type=str, help="ngrok authtoken, alternative to gradio --share", default=None)
+parser.add_argument("--ngrok-region", type=str, help="The region in which ngrok should start.", default="us")
parser.add_argument("--codeformer-models-path", type=str, help="Path to directory with codeformer model file(s).", default=os.path.join(models_path, 'Codeformer'))
parser.add_argument("--gfpgan-models-path", type=str, help="Path to directory with GFPGAN model file(s).", default=os.path.join(models_path, 'GFPGAN'))
parser.add_argument("--esrgan-models-path", type=str, help="Path to directory with ESRGAN model file(s).", default=os.path.join(models_path, 'ESRGAN'))