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

Shakker-Labs
/
FLUX.1-dev-LoRA-Text-Poster

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

Instructions to use Shakker-Labs/FLUX.1-dev-LoRA-Text-Poster with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Shakker-Labs/FLUX.1-dev-LoRA-Text-Poster 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", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-Text-Poster")
    
    prompt = "Text poster, a couple"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
FLUX.1-dev-LoRA-Text-Poster / images
837 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
wanghaofan's picture
wanghaofan
Add 4 files
6e43798 verified almost 2 years ago
  • 6dd1a918d89991ad5e40513ab88e7d892077f89dac93edcf4b660dd2.jpg
    254 kB
    xet
    Add 4 files almost 2 years ago
  • d2586464001008a80b5e45104e0f23290a35db048cab2e4fc4bfa356.jpg
    468 kB
    xet
    Add 4 files almost 2 years ago
  • f25e24ecfbd0aa96fb6f55ab29288ba4d1fffe79fd95679d9d2f1329.jpg
    116 kB
    xet
    Add 4 files almost 2 years ago