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

  • Log In
  • Sign Up

YuLexuan30
/
Feng_Long_Flux

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

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

  • Libraries
  • Diffusers

    How to use YuLexuan30/Feng_Long_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("YuLexuan30/Feng_Long_Flux")
    
    prompt = "FNGLN, the image is a selfie featuring a 30 years old asian man with a toned physique and long hair walking on a polished wooden floor inside an ancient Chinese temple. The asian man has long hair and is wearing a purple hanfu, he is staring at the viewer with a slightly provocative and sensual smile, and the image accentuates his manliness, his clothing appears to be made of silk or a similar fabric, and has an elaborate embroidery pattern,  selfie, <lora:fenglongfluxv1:1>"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Feng_Long_Flux
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
YuLexuan30's picture
YuLexuan30
Update README.md
9248c53 verified about 1 year ago
  • images
    Add 3 files about 1 year ago
  • .gitattributes
    2.31 kB
    initial commit about 1 year ago
  • README.md
    2.89 kB
    Update README.md about 1 year ago
  • fenglongfluxv1.safetensors
    172 MB
    xet
    Add 3 files about 1 year ago