エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
ここにツイート内容が記載されます https://b.hatena.ne.jp/URLはspanで囲んでください
Twitterで共有ONにすると、次回以降このダイアログを飛ばしてTwitterに遷移します
!pip install -U diffusers transf ormers scipy ftfy accelerate LoRA modelのロード 今回はsafetensors... !pip install -U diffusers transf ormers scipy ftfy accelerate LoRA modelのロード 今回はsafetensorsをダウンロードします。これはLoraとして指定すると数ステップで画像が生成できるようになります。 !wget -O LCM-LoRA.safetensors "https://civit ai.com/api/download/models/225222?type=Model&format=SafeTensor" import torch from diffusers import StableDiffusionPipeline from diffusers import LCMScheduler # Load the model pipeline = StableDiffusionPipeline.from_pr