image-to-game / main.py
feelatkeen's picture
Create main.py
eae5b8f verified
raw
history blame contribute delete
259 Bytes
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()