aboutsummaryrefslogtreecommitdiffstats
path: root/launch.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 /launch.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 '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")