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

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

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

  • Libraries
  • Diffusers

    How to use Seanwang1221/ZhangZiyi_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/ZhangZiyi_FLUX")
    
    prompt = "ZZY, beautiful detailed photograph, flowing hair cascading over her shoulders, wearing a turtleneck dress, standing in cafe looking at the viewer, smiling"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ZhangZiyi_FLUX
71.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Seanwang1221's picture
Seanwang1221
Update README.md
f2af524 verified 12 months ago
  • images
    Add 5 files 12 months ago
  • .gitattributes
    2.31 kB
    initial commit 12 months ago
  • README.md
    2.52 kB
    Update README.md 12 months ago
  • ZZY_Flux_1.safetensors
    67.3 MB
    xet
    Add 5 files 12 months ago