from diffusers import DiffusionPipeline | |
pipeline = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0") | |
pipeline.load_lora_weights("artificialguybr/ps1redmond-ps1-game-graphics-lora-for-sdxl") | |
pipeline.enable_model_cpu_offload() | |