Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sairajg
/
Text_To_Image

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

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

  • Libraries
  • Diffusers

    How to use sairajg/Text_To_Image with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("sairajg/Text_To_Image", 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 Settings
  • Draw Things
  • DiffusionBee
Text_To_Image
20.7 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 29 commits
Sairaj03's picture
Sairaj03
Upload v2-1_768-ema-pruned.ckpt with huggingface_hub
ce19700 almost 3 years ago
  • feature_extractor
    Delete feature_extractor/abc almost 3 years ago
  • scheduler
    Delete scheduler/abc almost 3 years ago
  • text_encoder
    Upload folder using huggingface_hub almost 3 years ago
  • tokenizer
    Delete tokenizer/abc almost 3 years ago
  • unet
    Delete unet/abc almost 3 years ago
  • vae
    Upload folder using huggingface_hub almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • model_index.json
    537 Bytes
    Upload model_index.json almost 3 years ago
  • v2-1_768-ema-pruned.ckpt

    Detected Pickle imports (8)

    • "collections.OrderedDict",
    • "numpy.dtype",
    • "torch.FloatStorage",
    • "pytorch_lightning.callbacks.model_checkpoint.ModelCheckpoint",
    • "_codecs.encode",
    • "numpy.core.multiarray.scalar",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.IntStorage"

    How to fix it?

    5.21 GB
    xet
    Upload v2-1_768-ema-pruned.ckpt with huggingface_hub almost 3 years ago