Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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 / images
6.25 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
prithivMLmods's picture
prithivMLmods
Upload 3 files
66a72ea verified almost 2 years ago
  • c1.png
    1.43 MB
    xet
    Upload 3 files almost 2 years ago
  • c2.png
    1.22 MB
    xet
    Upload 3 files almost 2 years ago
  • c3.png
    1.45 MB
    xet
    Upload 3 files almost 2 years ago
  • ferrari-roma-sports-cars-2021-5k-8k-3840x2160-3035.jpeg
    2.15 MB
    xet
    Add 4 files almost 2 years ago