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

  • Log In
  • Sign Up

p1atdev
/
Realgar-v2

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

Instructions to use p1atdev/Realgar-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use p1atdev/Realgar-v2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("p1atdev/Realgar-v2", 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
Realgar-v2 / text_encoder
2.04 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
p1atdev's picture
p1atdev
Upload text_encoder/model.v2-1.safetensors with huggingface_hub
695291d almost 3 years ago
  • config.json
    608 Bytes
    Upload text_encoder/config.json with huggingface_hub almost 3 years ago
  • model.v2-0.safetensors
    681 MB
    xet
    Upload text_encoder/model.v2-0.safetensors with huggingface_hub almost 3 years ago
  • model.v2-1-yuri.safetensors
    681 MB
    xet
    Upload text_encoder/model.v2-1-yuri.safetensors with huggingface_hub almost 3 years ago
  • model.v2-1.safetensors
    681 MB
    xet
    Upload text_encoder/model.v2-1.safetensors with huggingface_hub almost 3 years ago