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

  • Log In
  • Sign Up

creatorchain
/
ZTX_2

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

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

  • Libraries
  • Diffusers

    How to use creatorchain/ZTX_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("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("creatorchain/ZTX_2")
    
    prompt = "-"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ZTX_2 / images
370 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
El-Scuba-Steve's picture
El-Scuba-Steve
Add 5 files
eb79cd7 verified about 1 year ago
  • 6gVP66M4UWKaKTvJtaERL_075aa308fbe04fda8efffcf1589d29ab.jpg
    70.5 kB
    xet
    Add 5 files about 1 year ago
  • Ls80CILed1ErwlzB2UFc6_7afd6d9760a1460bb54f25e00c453e52.jpg
    89.5 kB
    xet
    Add 5 files about 1 year ago
  • PR5ohyNTm7offXrTwcFsD_c13c5ec68cf548b4944a1be1a2bd93d1.jpg
    103 kB
    xet
    Add 5 files about 1 year ago
  • UBZKLjjtrI52ftSiXkZoi_cfd689b23ebe45b197294ba3d44edda9.jpg
    106 kB
    xet
    Add 5 files about 1 year ago