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

  • Log In
  • Sign Up

Seanwang1221
/
ChenDuling_FLUX

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

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

  • Libraries
  • Diffusers

    How to use Seanwang1221/ChenDuling_FLUX 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("Seanwang1221/ChenDuling_FLUX")
    
    prompt = "CDL, In a photograph, the camera is angled slightly from below, capturing a close-up of a radiant woman with cascading brown hair that falls gracefully over her shoulders. Her eyes sparkle with warmth as they lock onto the viewer's gaze, framed by long lashes and beautifully defined eyebrows. She wears a stylish, well-fitted sweater in a deep shade of royal red, paired with distressed blue jeans that hug her figure perfectly. A delicate silver ring adorns her left hand, catching the light as she flashes a brilliant smile that reveals a hint of dimples. Her teeth are pearly white and perfectly aligned, adding to her captivating appearance. The background is a blurred scene of vibrant fall foliage, with warm orange, yellow, and red leaves scattered across the ground, casting a soft, golden glow on her face. The overall tone of the image is one of warmth, beauty, and strength, encapsulating the essence of autumn in a single, striking moment."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ChenDuling_FLUX
70.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Seanwang1221's picture
Seanwang1221
Add 4 files
3af27fa verified 11 months ago
  • images
    Add 4 files 11 months ago
  • .gitattributes
    2.31 kB
    initial commit 11 months ago
  • CDL_Flux_1.safetensors
    67.3 MB
    xet
    Add 4 files 11 months ago
  • README.md
    3.33 kB
    initial commit 11 months ago