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
/
Flux-FlatLay-LoRA

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

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

  • Libraries
  • Diffusers

    How to use strangerzonehf/Flux-FlatLay-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("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("strangerzonehf/Flux-FlatLay-LoRA")
    
    prompt = "flat lay, a medium-sized young man, dressed in a black t-shirt with a yellow collar and a yellow baseball cap on his head. The mans face is angled slightly to the left, with a serious expression on his face. His hair is styled in a wavy bob, adding a pop of color to the scene. The background is a vibrant shade of blue, creating a striking contrast to the mans shirt. The word \"ADER\" is prominently displayed on the front of the shirt, with the word \"error\" written in a bold, red font."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Flux-FlatLay-LoRA
622 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
prithivMLmods's picture
prithivMLmods
Update README.md
1b9921d verified over 1 year ago
  • images
    Delete images/men-s-brown-naruto-graphic-printed-oversized-hoodies-644532-1732528249-4.webp over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    8.14 kB
    Update README.md over 1 year ago
  • flatlay.safetensors
    613 MB
    xet
    Add 2 files over 1 year ago