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

strangerzonehf
/
FlatLay-Male-Model-LoRA-Demo

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

Instructions to use strangerzonehf/FlatLay-Male-Model-LoRA-Demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use strangerzonehf/FlatLay-Male-Model-LoRA-Demo with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("strangerzonehf/FlatLay-Male-Model-LoRA-Demo")
    
    prompt = "Flat-Lay Men Model, A medium-built man with fair skin stands confidently in front of a teal backdrop. He is wearing a light gray trench coat over a light pink button-down shirt and dark gray dress pants. His hair is neatly combed back, and he has a clean-shaven face. He holds a closed black umbrella in his right hand, while his left hand rests in his pocket. His expression is neutral, with a sharp focus on the camera."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
FlatLay-Male-Model-LoRA-Demo
620 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
prithivMLmods's picture
prithivMLmods
Update README.md
1b9c821 verified over 1 year ago
  • images
    Delete images/2ed2405b0c4fd0a9b97fec39c866837d.jpg over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • Flat-Lay-Men-Model.safetensors
    613 MB
    xet
    Add 2 files over 1 year ago
  • README.md
    6.08 kB
    Update README.md over 1 year ago