MSHADroo/dml_task_1
Viewer • Updated • 60 • 6
How to use MSHADroo/sd-qassem-unet-custom-train with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("MSHADroo/sd-qassem-unet-custom-train", torch_dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]this model is unet fine tuned model of stable diffusion architecture based on stable-diffusion-v1-5
Base model
stable-diffusion-v1-5/stable-diffusion-v1-5