Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

bep40
/
Sdxloffset1

Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
Model card Files Files and versions
xet
Community

Instructions to use bep40/Sdxloffset1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use bep40/Sdxloffset1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("bep40/Sdxloffset1")
    
    prompt = "Girl in bikini"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Sdxloffset1
49.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
bep40's picture
bep40
Add 2 files
1ce5dae verified almost 2 years ago
  • images
    Add 2 files almost 2 years ago
  • .gitattributes
    2.31 kB
    initial commit almost 2 years ago
  • README.md
    480 Bytes
    initial commit almost 2 years ago
  • sd_xl_offset_example-lora_1.0.safetensors
    49.6 MB
    xet
    Add 2 files almost 2 years ago