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

Seanwang1221
/
LiuYifei_FLUX

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

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

  • Libraries
  • Diffusers

    How to use Seanwang1221/LiuYifei_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/LiuYifei_FLUX")
    
    prompt = "LYF, In a noir-inspired scene set against the dimly lit, smoky ambiance of a 1940s speakeasy in New York City, a captivating woman with raven-black hair cascading down her back, is captured in a dramatic close-up portrait. Her parted lips reveal a hint of red lipstick and a flash of perfect white teeth as she gazes directly at the viewer with an enigmatic expression, accentuated by the soft, single beam of light casting a shadow on her striking, intricately designed jewelry that glints mysteriously against the inky darkness. The emotional tone is one of allure and intrigue, as if hinting at secrets only she possesses."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
LiuYifei_FLUX
142 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
Seanwang1221's picture
Seanwang1221
Update README.md
164fc86 verified 12 months ago
  • images
    Rename images/Liblib_00631_ .png to images/Liblib_00631_.png 12 months ago
  • .gitattributes
    2.31 kB
    initial commit 12 months ago
  • LYF_Flux_2.safetensors
    67.3 MB
    xet
    Upload LYF_Flux_2.safetensors 12 months ago
  • LYF_Flux_young_rank16_bf16.safetensors
    67.3 MB
    xet
    Add 5 files 12 months ago
  • README.md
    4.72 kB
    Update README.md 12 months ago