diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-10 14:22:08 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-10 14:22:08 +0000 |
commit | e0906096c57c25c7ecaa583f20af84b1699b8736 (patch) | |
tree | 5b0f859d69392ccca15063f896d0823ffbb58b2f /modules/launch_utils.py | |
parent | 4549f2a9cc0ed9045661192e74d146fa21f300d6 (diff) | |
download | stable-diffusion-webui-gfx803-e0906096c57c25c7ecaa583f20af84b1699b8736.tar.gz stable-diffusion-webui-gfx803-e0906096c57c25c7ecaa583f20af84b1699b8736.tar.bz2 stable-diffusion-webui-gfx803-e0906096c57c25c7ecaa583f20af84b1699b8736.zip |
remove unnecessary GFPGAN_PACKAGE (we install GFPGAN from the requirements file)
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r-- | modules/launch_utils.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 90c00dd2..bc5f38cc 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -305,7 +305,6 @@ def prepare_environment(): requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt")
xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.20')
- gfpgan_package = os.environ.get('GFPGAN_PACKAGE', "https://github.com/TencentARC/GFPGAN/archive/8d2447a2d918f8eba5a4a01463fd48e45126a379.zip")
clip_package = os.environ.get('CLIP_PACKAGE', "https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip")
openclip_package = os.environ.get('OPENCLIP_PACKAGE', "https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip")
@@ -352,11 +351,6 @@ def prepare_environment(): )
startup_timer.record("torch GPU test")
-
- if not is_installed("gfpgan"):
- run_pip(f"install {gfpgan_package}", "gfpgan")
- startup_timer.record("install gfpgan")
-
if not is_installed("clip"):
run_pip(f"install {clip_package}", "clip")
startup_timer.record("install clip")
|