diff options
author | yfszzx <yfszzx@gmail.com> | 2022-10-12 12:48:03 +0000 |
---|---|---|
committer | yfszzx <yfszzx@gmail.com> | 2022-10-12 12:48:03 +0000 |
commit | 511ca57e37483aac0cf260c89838ad2948509101 (patch) | |
tree | 8d6fb6ccd0cfc470460c68cf8d054bfc98dbdb34 /modules/shared.py | |
parent | e05573e1adc1cde1e3bd7eb651a1ab27c446b3d5 (diff) | |
parent | a36dea9596c8880609401ce4fa7ab83cf70a9b2b (diff) | |
download | stable-diffusion-webui-gfx803-511ca57e37483aac0cf260c89838ad2948509101.tar.gz stable-diffusion-webui-gfx803-511ca57e37483aac0cf260c89838ad2948509101.tar.bz2 stable-diffusion-webui-gfx803-511ca57e37483aac0cf260c89838ad2948509101.zip |
Merge branch 'master' of https://github.com/yfszzx/stable-diffusion-webui-plus
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index 8753015e..1dc2ccf2 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -14,7 +14,7 @@ import modules.sd_models import modules.styles
import modules.devices as devices
from modules import sd_samplers
-from modules.hypernetwork import hypernetwork
+from modules.hypernetworks import hypernetwork
from modules.paths import models_path, script_path, sd_path
sd_model_file = os.path.join(script_path, 'model.ckpt')
@@ -38,6 +38,7 @@ parser.add_argument("--always-batch-cond-uncond", action='store_true', help="dis parser.add_argument("--unload-gfpgan", action='store_true', help="does not do anything.")
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("--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'))
|