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

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 / images
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
YuLexuan30's picture
YuLexuan30
Add 3 files
d7f1dbf verified about 1 year ago
  • 00024-1704946992.png
    4.58 MB
    xet
    Add 3 files about 1 year ago
  • 00025-378813082.png
    1.63 MB
    xet
    Add 3 files about 1 year ago