スナックelve 本店

バツイチ40代女の日記です

【課金済み】2023年12月版Google ColaboでStable Diffusion Webuiを動かす方法

ってか動かねぇ!! 金払ったのに動かねぇ!!! イラレもなんかロックしちゃったし!!(`;ω;´)((前職のPCにインストールしたあとそのままにしたためライセンスが無効になったらしい(´;ω;`)))

結論:なんかアップデートしてた
www.youtube.com


動画は最後まで見てないが要はなんかアップデートしてバージョンが合ってないってことね!!!

#セッションの最初だけ実行
!pip install -U xformers
!pip install -U torchvision 
!pip install -U TorchAudio

#コピー
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui

%cd /content/stable-diffusion-webui

#GoogleDriveからモデルファイルコピー(初回のみ)
!cp /content/drive/MyDrive/model/beautifulRealistic_brav5.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/beautifulRealistic_brav5.safetensors
!cp /content/drive/MyDrive/model/beautifulRealistic_v7.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/beautifulRealistic_v7.safetensors
!cp /content/drive/MyDrive/model/mistoonAnime_v10.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/mistoonAnime_v10.safetensors

#実行
!python launch.py --share --xformers --enable-insecure-extension-access

image2image

デフォルト設定で
input:エルベさんのお写真


モデル:beautifulRealistic_brav5.safetensors


モデル:beautifulRealistic_v7.safetensors

モデル:mistoonAnime_v10.safetensors


いやぁ~弄りだすと面白いよね~