diff options
author | d8ahazard <d8ahazard@gmail.com> | 2022-09-21 13:06:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 13:06:37 +0000 |
commit | 1a1f7e85c772e48ed923470f62ec2d32f9ff361f (patch) | |
tree | b7723e3223c4acb7be998adf66f8fbfc7ef06981 /launch.py | |
parent | d6e8d85e30443510b83ad3dc0e8b28e366391e1e (diff) | |
download | stable-diffusion-webui-gfx803-1a1f7e85c772e48ed923470f62ec2d32f9ff361f.tar.gz stable-diffusion-webui-gfx803-1a1f7e85c772e48ed923470f62ec2d32f9ff361f.tar.bz2 stable-diffusion-webui-gfx803-1a1f7e85c772e48ed923470f62ec2d32f9ff361f.zip |
Add LDSR and "GoLatent?" Upscaling (#763)
* Add LDSR Upscaling
Diffstat (limited to 'launch.py')
-rw-r--r-- | launch.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,7 @@ stable_diffusion_commit_hash = os.environ.get('STABLE_DIFFUSION_COMMIT_HASH', "6 taming_transformers_commit_hash = os.environ.get('TAMING_TRANSFORMERS_COMMIT_HASH', "24268930bf1dce879235a7fddd0b2355b84d7ea6")
codeformer_commit_hash = os.environ.get('CODEFORMER_COMMIT_HASH', "c5b4593074ba6214284d6acd5f1719b6c5d739af")
blip_commit_hash = os.environ.get('BLIP_COMMIT_HASH', "48211a1594f1321b00f14c9f7a5b4813144b2fb9")
+ldsr_commit_hash = os.environ.get('LDSR_COMMIT_HASH',"e1a84a89fcbb49881546cf2acf1e7e250923dba0")
args = shlex.split(commandline_args)
@@ -121,6 +122,8 @@ git_clone("https://github.com/CompVis/stable-diffusion.git", repo_dir('stable-di git_clone("https://github.com/CompVis/taming-transformers.git", repo_dir('taming-transformers'), "Taming Transformers", taming_transformers_commit_hash)
git_clone("https://github.com/sczhou/CodeFormer.git", repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
git_clone("https://github.com/salesforce/BLIP.git", repo_dir('BLIP'), "BLIP", blip_commit_hash)
+# Using my repo until my changes are merged, as this makes interfacing with our version of SD-web a lot easier
+git_clone("https://github.com/Hafiidz/latent-diffusion", repo_dir('latent-diffusion'), "LDSR", ldsr_commit_hash)
if not is_installed("lpips"):
run_pip(f"install -r {os.path.join(repo_dir('CodeFormer'), 'requirements.txt')}", "requirements for CodeFormer")
|