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

  • Log In
  • Sign Up

PhoenixGS
/
sd-test-model-lora

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

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

  • Libraries
  • Diffusers

    How to use PhoenixGS/sd-test-model-lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("PhoenixGS/sd-test-model-lora")
    
    prompt = "dog"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
sd-test-model-lora / images
369 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
PhoenixGS's picture
PhoenixGS
Add generated example (#1)
062c539 verified over 1 year ago
  • dog.png
    349 kB
    xet
    Add 2 files over 1 year ago
  • example_f7u74rxrl.png
    20.8 kB
    xet
    Add generated example (#1) over 1 year ago