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

  • Log In
  • Sign Up

axingd
/
lora-test

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

Instructions to use axingd/lora-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use axingd/lora-test 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("axingd/lora-test")
    
    prompt = "-"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
lora-test / images
27.6 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
axingd's picture
axingd
Add 2 files
0501761 verified over 1 year ago
  • photo_2024-11-24_10-20-30.jpg
    27.6 kB
    xet
    Add 2 files over 1 year ago