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

  • Log In
  • Sign Up

tonyassi
/
warhol-lora

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

Instructions to use tonyassi/warhol-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use tonyassi/warhol-lora 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("tonyassi/warhol-lora")
    
    prompt = "Warhol style"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
warhol-lora
171 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
tonyassi's picture
tonyassi
Update README.md
b7f9041 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    2.73 kB
    Update README.md about 2 years ago
  • pytorch_lora_weights.safetensors
    171 MB
    xet
    Upload 2 files about 2 years ago