How to use livewalk/space-telescope with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("livewalk/space-telescope", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of space telescope in the second Sun-Earth Lagrange point (L2)" image = pipe(prompt).images[0]