aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhaohu xing <920232796@qq.com>2022-12-06 16:15:15 +0800
committerzhaohu xing <920232796@qq.com>2022-12-06 16:15:15 +0800
commit965fc5ac5a6ccdf38342e21c97183011a04e799e (patch)
tree67ff3ae6cbe774c40ade0aa440ca1e4e15eca06e
parent5dcc22606d05ebe5ae89c990bd83a3eb068fcb78 (diff)
delete a file
Signed-off-by: zhaohu xing <920232796@qq.com>
-rw-r--r--.DS_Storebin6148 -> 0 bytes
-rw-r--r--modules/shared.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 5008ddfc..00000000
--- a/.DS_Store
+++ /dev/null
Binary files differ
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'))