diff options
author | 不会画画的中医不是好程序员 <yfszzx@gmail.com> | 2022-10-16 13:16:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 13:16:08 +0000 |
commit | 272d979d1c9763cbe1046770c7c4e1f669feab0f (patch) | |
tree | 90652d409002d639d6346c61d23aa368be22b050 /modules/shared.py | |
parent | 5d8c59eee505cf15ec6994d05bb941440d90e44e (diff) | |
parent | 36a0ba357ab0742c3c4a28437b68fb29a235afbe (diff) | |
download | stable-diffusion-webui-gfx803-272d979d1c9763cbe1046770c7c4e1f669feab0f.tar.gz stable-diffusion-webui-gfx803-272d979d1c9763cbe1046770c7c4e1f669feab0f.tar.bz2 stable-diffusion-webui-gfx803-272d979d1c9763cbe1046770c7c4e1f669feab0f.zip |
Merge branch 'AUTOMATIC1111:master' into master
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 fa30bbb0..dcab0af9 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -40,6 +40,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'))
|