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

  • Log In
  • Sign Up

benhamilto
/
test-model

Text-to-Image
Diffusers
StableDiffusionPipeline
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use benhamilto/test-model with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("benhamilto/test-model", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
test-model
4.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
benhamilto's picture
benhamilto
Upload 18 files
f36bcf6 over 3 years ago
  • samples
    Upload 18 files over 3 years ago
  • scheduler
    Upload 18 files over 3 years ago
  • text_encoder
    Upload 18 files over 3 years ago
  • tokenizer
    Upload 18 files over 3 years ago
  • unet
    Upload 18 files over 3 years ago
  • vae
    Upload 18 files over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    98 Bytes
    Update README.md over 3 years ago
  • app.py
    21 Bytes
    Create app.py over 3 years ago
  • args.json
    1.63 kB
    Upload 18 files over 3 years ago
  • model_index.json
    416 Bytes
    Upload 18 files over 3 years ago