--- license: apache-2.0 base_model: stabilityai/stable-diffusion-xl-base-1.0 dataset: hahminlew/kream-product-blip-captions tags: - stable-diffusion-xl - stable-diffusion-xl-diffusers - text-to-image - diffusers - lora - stable-diffusion - stable-diffusion-diffusers inference: true datasets: - hahminlew/kream-product-blip-captions language: - en pipeline_tag: text-to-image --- # Inference ```python from diffusers import DiffusionPipeline import torch pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16) pipe.to("cuda") pipe.load_lora_weights("VikramSingh178/sdxl-lora-finetune-product-caption") prompt = "outer, The Nike x Balenciaga Down Jacket Black, a photography of a black down jacket with a logo on the chest." image = pipe(prompt, num_inference_steps=45, guidance_scale=7.5).images[0] image.save("example.png") ```