```py
from diffusers import StableDiffusionXLPipeline  
ckpt_path = "https://huggingface.co/segmind/SSD-1B/blob/main/SSD-1B.safetensors"
repo_id = "segmind/SSD-1B"  
pipeline = StableDiffusionXLPipeline.from_single_file(ckpt_path, config=repo_id)
```