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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Autodraft
/
CM2000112

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

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

  • Libraries
  • Diffusers

    How to use Autodraft/CM2000112 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Autodraft/CM2000112", 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
CM2000112 / external /midas
101 kB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 3 commits
jayparmr's picture
jayparmr
update : inference
35575bb verified over 1 year ago
  • .ipynb_checkpoints
    Upload folder using huggingface_hub over 2 years ago
  • midas
    Upload folder using huggingface_hub over 2 years ago
  • __init__.py
    0 Bytes
    update : inference over 1 year ago
  • api.py
    5.18 kB
    Upload folder using huggingface_hub over 2 years ago
  • base_model.py
    367 Bytes
    update : inference over 1 year ago
  • blocks.py
    9.24 kB
    update : inference over 1 year ago
  • dpt_depth.py
    3.15 kB
    update : inference over 1 year ago
  • midas_net.py
    2.71 kB
    update : inference over 1 year ago
  • midas_net_custom.py
    5.21 kB
    update : inference over 1 year ago
  • transforms.py
    7.87 kB
    update : inference over 1 year ago
  • utils.py
    4.58 kB
    Upload folder using huggingface_hub over 2 years ago
  • vit.py
    14.6 kB
    update : inference over 1 year ago