更新 'StableDiffusion.ipynb'

This commit is contained in:
502647092 2023-03-09 10:11:04 +00:00
parent 075dffd774
commit ee2b4969ea

View File

@ -50,6 +50,13 @@ os.environ['colab_url'] = eval_js("google.colab.kernel.proxyPort(7860, {'cache':
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/andite/pastel-mix/resolve/main/pastelmix-fp32.ckpt -d /content/stable-diffusion-webui/models/Stable-diffusion -o pastelmix-fp32.ckpt !aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/andite/pastel-mix/resolve/main/pastelmix-fp32.ckpt -d /content/stable-diffusion-webui/models/Stable-diffusion -o pastelmix-fp32.ckpt
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -d /content/stable-diffusion-webui/models/Stable-diffusion -o pastelmix-fp32.vae.pt !aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -d /content/stable-diffusion-webui/models/Stable-diffusion -o pastelmix-fp32.vae.pt
!mkdir -p /content/stable-diffusion-webui/models/Stable-diffusion/ChilloutMix
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/swl-models/chilloutmix-ni/blob/main/chilloutmix_NiPrunedFp32Fix.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion/ChilloutMix -o chilloutmix_NiPrunedFp32Fix.safetensors
!mkdir -p /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/AnonPerson/ChilloutMix/resolve/main/Japanese-doll-likeness.safetensors -o /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/Japanese-doll-likeness.safetensors
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/LittleJuliet/koreanDollLikeness/resolve/main/koreanDollLikeness.safetensors -o /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/koreanDollLikeness.safetensors
!sed -i -e '''/ prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py !sed -i -e '''/ prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
!mkdir /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/models !mkdir /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/models