MaziyarPanahi's picture
Update README.md
52d342b verified
metadata
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - template:sd-lora
  - sdxl
  - fashion
  - luxury
  - purse
widget:
  - text: a photo of a sljm
    output:
      url: generated_image-1_999999-2.png
base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: null
pipeline_tag: text-to-image
license: apache-2.0

sljm-bag-stable-diffusion-xl-base-1.0

Prompt
a photo of a sljm

How to use

prj_path = "MaziyarPanahi/sljm-bag-stable-diffusion-xl-base-1.0"

model = "stabilityai/stable-diffusion-xl-base-1.0"
pipe = DiffusionPipeline.from_pretrained(
    model,
    torch_dtype=torch.float16,
)
pipe.to("cuda")
pipe.load_lora_weights(prj_path, weight_name="pytorch_lora_weights.safetensors")

refiner = StableDiffusionXLImg2ImgPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-refiner-1.0",
    torch_dtype=torch.float16,
)
refiner.to("cuda")

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.