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

  • Log In
  • Sign Up

zz001
/
test_2

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

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

  • Libraries
  • Diffusers

    How to use zz001/test_2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("xinsir/controlnet-union-sdxl-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("zz001/test_2")
    
    prompt = "aaaaaaaaaaaaaa"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
test_2
57.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
zz001's picture
zz001
Update head_navbar new.tmpl
05489b7 verified almost 2 years ago
  • images
    Add 2 files almost 2 years ago
  • .gitattributes
    2.31 kB
    initial commit almost 2 years ago
  • 1111 - 副本.zip
    57.1 MB
    xet
    Add 2 files almost 2 years ago
  • README.md
    596 Bytes
    initial commit almost 2 years ago
  • head_navbar new.tmpl
    12.3 kB
    Update head_navbar new.tmpl almost 2 years ago