Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

anthienlong
/
flux_image_enhancer

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

Instructions to use anthienlong/flux_image_enhancer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use anthienlong/flux_image_enhancer 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("anthienlong/flux_image_enhancer")
    
    prompt = "8k,Best Quality,Masterpiece,Ultra High Resolution,(Realisticity:1.4) A beautiful woman,wearing a black bikini,standing barefoot on a sandy beach,smiling,with the sun shining down on her,warm light,tropical paradise,clear blue water,palm trees in the background.,"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Delete images/834914ec4a02cd07dd703fba14408332ff322fed5270d4138f059e9d4ac2d32a.png

#1 opened about 1 year ago by
pratikgangurde
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs