更新 'StableDiffusionAnything.ipynb'

This commit is contained in:
502647092 2023-03-25 09:35:27 +00:00
parent a17a9a8434
commit b3cf479528

View File

@ -56,6 +56,12 @@ async def main():
%cd /content/stable-diffusion-webui
!git reset --hard
await async_command_group([
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.pth -d /content/stable-diffusion-webui/models/Codeformer -o codeformer-v0.1.0.pth",
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -d /content/stable-diffusion-webui/repositories/CodeFormer/weights/facelib/ -o detection_Resnet50_Final.pth",
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/parsing_parsenet.pth -d /content/stable-diffusion-webui/repositories/CodeFormer/weights/facelib -o parsing_parsenet.pth",
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/datasets/gsdf/EasyNegative/resolve/main/EasyNegative.safetensors -d /content/stable-diffusion-webui/embeddings -o EasyNegative.safetensors",
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_version2.pt -d /content/stable-diffusion-webui/embeddings -o bad_prompt_version2.pt",
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5.ckpt -d /content/stable-diffusion-webui/models/Stable-diffusion -o anything-v4.5.ckpt",
"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0.vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o anything-v4.5.vae.pt",
])