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

  • Log In
  • Sign Up

prithivMLmods
/
Canes-Cars-Model-LoRA

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

Instructions to use prithivMLmods/Canes-Cars-Model-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use prithivMLmods/Canes-Cars-Model-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("prithivMLmods/Canes-Cars-Model-LoRA")
    
    prompt = "A black Ford Mustang was photographed on the side of an abandoned road in British Columbia, Canada surrounded by trees and grass. The car is driving fast down the dirt road at sunset. Light beams shine from its headlights. Shot in the style of Peter Lindbergh for Aman Resorts --ar 85:128 --v 6.0 --style raw"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Canes-Cars-Model-LoRA
463 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
prithivMLmods's picture
prithivMLmods
Update README.md
967d27e verified almost 2 years ago
  • images
    Upload 3 files almost 2 years ago
  • .gitattributes
    2.31 kB
    initial commit almost 2 years ago
  • Canes-Cars-Model-LoRA.safetensors
    456 MB
    xet
    Add 4 files almost 2 years ago
  • README.md
    4.7 kB
    Update README.md almost 2 years ago