aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorZac Liu <liuguang@baai.ac.cn>2022-12-06 08:16:29 +0000
committerGitHub <noreply@github.com>2022-12-06 08:16:29 +0000
commit9a5c689c4960259f32cf627384ef5691ded5c017 (patch)
tree67ff3ae6cbe774c40ade0aa440ca1e4e15eca06e /modules/shared.py
parenta25dfebeed5b3411f2dc0f558c2b87a7c1cda420 (diff)
parent965fc5ac5a6ccdf38342e21c97183011a04e799e (diff)
downloadstable-diffusion-webui-gfx803-9a5c689c4960259f32cf627384ef5691ded5c017.tar.gz
stable-diffusion-webui-gfx803-9a5c689c4960259f32cf627384ef5691ded5c017.tar.bz2
stable-diffusion-webui-gfx803-9a5c689c4960259f32cf627384ef5691ded5c017.zip
Merge pull request #4 from 920232796/master
add hash and fix undo hijack bug
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 522c56c1..8419b531 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -22,7 +22,7 @@ demo = None
sd_model_file = os.path.join(script_path, 'model.ckpt')
default_sd_model_file = sd_model_file
parser = argparse.ArgumentParser()
-parser.add_argument("--config", type=str, default="configs/altdiffusion/ad-inference.yaml", help="path to config which constructs model",)
+parser.add_argument("--config", type=str, default=os.path.join(script_path, "v1-inference.yaml"), help="path to config which constructs model",)
parser.add_argument("--ckpt", type=str, default=sd_model_file, help="path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded",)
parser.add_argument("--ckpt-dir", type=str, default=None, help="Path to directory with stable diffusion checkpoints")
parser.add_argument("--gfpgan-dir", type=str, help="GFPGAN directory", default=('./src/gfpgan' if os.path.exists('./src/gfpgan') else './GFPGAN'))