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

ostris
/
people-count-slider-lora

Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
migrated
people
tool
slider
number of people
Model card Files Files and versions
xet
Community

Instructions to use ostris/people-count-slider-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ostris/people-count-slider-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("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("ostris/people-count-slider-lora")
    
    prompt = "hipster men at a bar posing for a picture "
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
people-count-slider-lora
7.67 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ostris's picture
ostris
Upload folder using huggingface_hub
e022358 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • 1670646.jpeg
    534 kB
    Upload folder using huggingface_hub about 2 years ago
  • 1670714.jpeg
    50.7 kB
    Upload folder using huggingface_hub about 2 years ago
  • 1670719.jpeg
    53.9 kB
    Upload folder using huggingface_hub about 2 years ago
  • 1670723.jpeg
    56.7 kB
    Upload folder using huggingface_hub about 2 years ago
  • 1670739.jpeg
    53.4 kB
    Upload folder using huggingface_hub about 2 years ago
  • 1671159.jpeg
    55.6 kB
    Upload folder using huggingface_hub about 2 years ago
  • README.md
    3.07 kB
    Upload folder using huggingface_hub about 2 years ago
  • people_count_slider_v1.safetensors
    6.87 MB
    xet
    Upload folder using huggingface_hub about 2 years ago