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

fofr
/
flux-condensation

Text-to-Image
Diffusers
English
flux
lora
replicate
Model card Files Files and versions
xet
Community
3

Instructions to use fofr/flux-condensation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use fofr/flux-condensation 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("fofr/flux-condensation")
    
    prompt = "the word \"hello\" written in CONDENSATION on the window"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
flux-condensation / images
511 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
fofr's picture
fofr
Add generated example (#2)
be3be90 verified over 1 year ago
  • example_2d3sjnkvb.png
    148 kB
    Add generated example (#1) over 1 year ago
  • example_crzf2b8xi.png
    148 kB
    Add generated example (#3) over 1 year ago
  • example_loupqxabk.png
    214 kB
    Add generated example (#2) over 1 year ago