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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

maharnab
/
Flux-Collage-LoRA

Text-to-Image
Diffusers
English
flux
lora
image-generation
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use maharnab/Flux-Collage-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("maharnab/Flux-Collage-LoRA")
    
    prompt = "a collage of a dog on a piece of paper. The dog is painted in a realistic style, with its fur and features clearly visible."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Flux-Collage-LoRA / images
532 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
maharnab's picture
maharnab
Upload 3.png
f89f22a verified over 1 year ago
  • 1.png
    179 kB
    xet
    Rename images/example_rwkp94yd6.png to images/1.png over 1 year ago
  • 2.png
    147 kB
    xet
    Rename images/2.jpeg to images/2.png over 1 year ago
  • 3.png
    207 kB
    xet
    Upload 3.png over 1 year ago