AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.71k stars 26.48k forks source link

Switch in one model to another in google colab #2992

Closed wilzamguerrero closed 1 year ago

wilzamguerrero commented 1 year ago

Hi for all my problem is i want to switch in different models but i dont know how can i add others, and the other problem is i try to load the model waifu, of course i replace the name for model, but don't work, um working in google colab and with my drive.

mykeehu commented 1 year ago

Add a new block after loaded model.ckpt and you can fill more than one model (waifu 1.2 is unfortunately on a slow server, but 1.3 is better for anime): !wget --header={user_header} https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt

!wget --header={user_header} https://huggingface.co/naclbit/trinart_stable_diffusion_v2/resolve/main/trinart2_step115000.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/trinart2_step115000.ckpt

!wget --header={user_header} https://huggingface.co/naclbit/trinart_stable_diffusion/resolve/main/trinart_stable_diffusion_epoch3.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/trinart_stable_diffusion_epoch3.ckpt

!wget --header={user_header} https://huggingface.co/BumblingOrange/Hiten/resolve/main/Hiten%20girl_anime_8k_wallpaper_4k.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/Hiten%20girl_anime_8k_wallpaper_4k.ckpt

ClashSAN commented 1 year ago

@wilzamguerrero you should ask colab maintainers or tell us what colab you use first.

wilzamguerrero commented 1 year ago

Add a new block after loaded model.ckpt and you can fill more than one model (waifu 1.2 is unfortunately on a slow server, but 1.3 is better for anime): !wget --header={user_header} https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt

thank you so much for answer me, i put the arg for the folder models and work now, thank you so much

wilzamguerrero commented 1 year ago

How can i change the arg for save the images in other path, i see the list of commands but i dont find any for the save path? i add this but dont work. image and this but dont work image image

mykeehu commented 1 year ago

Change this under Settings tab, while colab is running, it remembers the settings. I don't use addon commands on the colab.

wilzamguerrero commented 1 year ago

Ok i understand, thank you so much for all this amazing work for us.