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

  • Log In
  • Sign Up

eykarim
/
stable-diffusion-v1

Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
endpoints-template
Model card Files Files and versions
xet

Instructions to use eykarim/stable-diffusion-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use eykarim/stable-diffusion-v1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("eykarim/stable-diffusion-v1", 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
stable-diffusion-v1
2.74 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
eykarim's picture
eykarim
Delete handler.py
136fb9a over 3 years ago
  • feature_extractor
    Upload 21 files over 3 years ago
  • safety_checker
    Upload 21 files over 3 years ago
  • scheduler
    Upload 21 files over 3 years ago
  • text_encoder
    Upload 21 files over 3 years ago
  • tokenizer
    Upload 21 files over 3 years ago
  • unet
    Upload 21 files over 3 years ago
  • vae
    Upload 21 files over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    2.22 kB
    Update README.md over 3 years ago
  • create_handler.ipynb
    6.1 kB
    Upload 21 files over 3 years ago
  • model_index.json
    543 Bytes
    Upload 21 files over 3 years ago
  • requirements.txt
    17 Bytes
    Upload 21 files over 3 years ago
  • sample.jpg
    48.5 kB
    Upload 21 files over 3 years ago