Skip to content

Commit c7634dc

Browse files
ubuntuzhchaoxing
ubuntu
authored andcommitted
add git proxy for China
1 parent bef51ae commit c7634dc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/launch_utils.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,14 @@ def prepare_environment():
341341
requirements_file_for_npu = os.environ.get('REQS_FILE_FOR_NPU', "requirements_npu.txt")
342342

343343
xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.23.post1')
344-
clip_package = os.environ.get('CLIP_PACKAGE', "https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip")
345-
openclip_package = os.environ.get('OPENCLIP_PACKAGE', "https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip")
346-
347-
assets_repo = os.environ.get('ASSETS_REPO', "https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git")
348-
stable_diffusion_repo = os.environ.get('STABLE_DIFFUSION_REPO', "https://github.com/Stability-AI/stablediffusion.git")
349-
stable_diffusion_xl_repo = os.environ.get('STABLE_DIFFUSION_XL_REPO', "https://github.com/Stability-AI/generative-models.git")
350-
k_diffusion_repo = os.environ.get('K_DIFFUSION_REPO', 'https://github.com/crowsonkb/k-diffusion.git')
351-
blip_repo = os.environ.get('BLIP_REPO', 'https://github.com/salesforce/BLIP.git')
344+
clip_package = os.environ.get('CLIP_PACKAGE', "https://github.moeyy.xyz/https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip")
345+
openclip_package = os.environ.get('OPENCLIP_PACKAGE', "https://github.moeyy.xyz/https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip")
346+
347+
assets_repo = os.environ.get('ASSETS_REPO', "https://github.moeyy.xyz/https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git")
348+
stable_diffusion_repo = os.environ.get('STABLE_DIFFUSION_REPO', "https://github.moeyy.xyz/https://github.com/Stability-AI/stablediffusion.git")
349+
stable_diffusion_xl_repo = os.environ.get('STABLE_DIFFUSION_XL_REPO', "https://github.moeyy.xyz/https://github.com/Stability-AI/generative-models.git")
350+
k_diffusion_repo = os.environ.get('K_DIFFUSION_REPO', 'https://github.moeyy.xyz/https://github.com/crowsonkb/k-diffusion.git')
351+
blip_repo = os.environ.get('BLIP_REPO', 'https://github.moeyy.xyz/https://github.com/salesforce/BLIP.git')
352352

353353
assets_commit_hash = os.environ.get('ASSETS_COMMIT_HASH', "6f7db241d2f8ba7457bac5ca9753331f0c266917")
354354
stable_diffusion_commit_hash = os.environ.get('STABLE_DIFFUSION_COMMIT_HASH', "cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf")

0 commit comments

Comments
 (0)