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
/
ZhouHuimin_FLUX

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

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

  • Libraries
  • Diffusers

    How to use Seanwang1221/ZhouHuimin_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/ZhouHuimin_FLUX")
    
    prompt = "ZHM, A photo of a young woman with black hair wearing round glasses and a form-fitting black top. She is in a classroom setting with black and yellow walls. The woman is gazing seductively at the viewer with a soft smile and lustful eyes. Her dark red lipstick and piercing black eyes create a sense of both seduction and sexiness."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ZhouHuimin_FLUX
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Seanwang1221's picture
Seanwang1221
Add 4 files
0d36818 verified 12 months ago
  • images
    Add 4 files 12 months ago
  • .gitattributes
    2.31 kB
    initial commit 12 months ago
  • README.md
    2.98 kB
    initial commit 12 months ago
  • ZHM_Flux_1.safetensors
    67.3 MB
    xet
    Add 4 files 12 months ago