diff options
author | 不会画画的中医不是好程序员 <yfszzx@gmail.com> | 2022-10-11 13:03:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 13:03:41 +0000 |
commit | a36dea9596c8880609401ce4fa7ab83cf70a9b2b (patch) | |
tree | c63a41ad4d2c8b314a526d6e44710391be1426b7 /modules/shared.py | |
parent | 87d63bbab5c973ac5cec777ef7304d28f1ab3f24 (diff) | |
parent | b0583be0884cd17dafb408fd79b52b2a0a972563 (diff) | |
download | stable-diffusion-webui-gfx803-a36dea9596c8880609401ce4fa7ab83cf70a9b2b.tar.gz stable-diffusion-webui-gfx803-a36dea9596c8880609401ce4fa7ab83cf70a9b2b.tar.bz2 stable-diffusion-webui-gfx803-a36dea9596c8880609401ce4fa7ab83cf70a9b2b.zip |
Merge branch 'master' into master
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'))
|