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

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
  • Draw Things
  • DiffusionBee
Flux-Collage-LoRA
688 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
maharnab's picture
maharnab
Update README.md
24d1155 verified about 1 year ago
  • images
    Upload 3.png about 1 year ago
  • .gitattributes
    1.78 kB
    Upload 3.png about 1 year ago
  • README.md
    1.23 kB
    Update README.md about 1 year ago
  • collage_flux_lora_v1.safetensors
    687 MB
    xet
    Rename collage.safetensors to collage_flux_lora_v1.safetensors about 1 year ago