aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorzhaohu xing <920232796@qq.com>2022-12-06 08:04:50 +0000
committerzhaohu xing <920232796@qq.com>2022-12-06 08:04:50 +0000
commit5dcc22606d05ebe5ae89c990bd83a3eb068fcb78 (patch)
treee5537714247463860ed6bcc21a40083d27ebe6c0 /launch.py
parenta25dfebeed5b3411f2dc0f558c2b87a7c1cda420 (diff)
downloadstable-diffusion-webui-gfx803-5dcc22606d05ebe5ae89c990bd83a3eb068fcb78.tar.gz
stable-diffusion-webui-gfx803-5dcc22606d05ebe5ae89c990bd83a3eb068fcb78.tar.bz2
stable-diffusion-webui-gfx803-5dcc22606d05ebe5ae89c990bd83a3eb068fcb78.zip
add hash and fix undo hijack bug
Signed-off-by: zhaohu xing <920232796@qq.com>
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/launch.py b/launch.py
index 0d8f2776..0e1bbaf2 100644
--- a/launch.py
+++ b/launch.py
@@ -234,11 +234,11 @@ def prepare_enviroment():
os.makedirs(dir_repos, exist_ok=True)
- git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", )
- git_clone(taming_transformers_repo, repo_dir('taming-transformers'), "Taming Transformers", )
- git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", )
- git_clone(codeformer_repo, repo_dir('CodeFormer'), "CodeFormer", )
- git_clone(blip_repo, repo_dir('BLIP'), "BLIP", )
+ git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
+ git_clone(taming_transformers_repo, repo_dir('taming-transformers'), "Taming Transformers", taming_transformers_commit_hash)
+ git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", k_diffusion_commit_hash)
+ git_clone(codeformer_repo, repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
+ git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)
if not is_installed("lpips"):
run_pip(f"install -r {os.path.join(repo_dir('CodeFormer'), 'requirements.txt')}", "requirements for CodeFormer")