Skip to content

camenduru/stable-diffusion-webui-colab

 
 

Repository files navigation

🐣 Please follow me for new updates https://twitter.com/camenduru
🔥 Please join our discord server https://discord.gg/k5BwmmvJJU
🥳 Please join my patreon community https://patreon.com/camenduru

🦒 Install the WebUI Colab to Google Drive

stable nightly Function
Open In Colab Open In Colab One Time Install & Update
Open In Colab Open In Colab Run
Open In Colab Open In Colab Add Model

Tutorials

Stable Diffusion WebUI Colab With Google Drive: https://www.youtube.com/watch?v=njW64feGMzI

🚨 Important for 15G Free Google Drive Users:

If you have enough space, remove the # character before the line

image

If you want to use more models, you can download your model into Colab, which has an empty 50GB space.

Download models into /content/models WebUI automaticly will find your models under /content/models and /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Stable-diffusion

Screenshot 2023-03-20 133516

!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/andite/pastel-mix/resolve/main/pastelmix-fp16.ckpt -d /content/models -o pastelmix-fp16.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/models -o pastelmix-fp16.vae.pt

You can also free up more space by deleting the default model in your drive.

Screenshot 2023-02-24 140908

If you don't plan to use ControlNet models, you can also free up space by deleting them. (thanks to twitter@muadoyoki ❤)

Screenshot 2023-02-24 141259