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

OzzyGT
/
moss_image_custom_blocks

Text-to-Image
Diffusers
English
Chinese
moss-image
modular-diffusers
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use OzzyGT/moss_image_custom_blocks with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("OzzyGT/moss_image_custom_blocks", 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
moss_image_custom_blocks
48 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
OzzyGT's picture
OzzyGT HF Staff
added moss image custom blocks
2107900 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 2 days ago
  • .gitignore
    13 Bytes
    added moss image custom blocks 2 days ago
  • LICENSE
    11.4 kB
    added moss image custom blocks 2 days ago
  • README.md
    6.27 kB
    added moss image custom blocks 2 days ago
  • __init__.py
    0 Bytes
    added moss image custom blocks 2 days ago
  • before_denoise.py
    8.5 kB
    added moss image custom blocks 2 days ago
  • decoders.py
    2.66 kB
    added moss image custom blocks 2 days ago
  • denoise.py
    7.58 kB
    added moss image custom blocks 2 days ago
  • encoders.py
    5.63 kB
    added moss image custom blocks 2 days ago
  • modular_blocks_moss_image.py
    4.15 kB
    added moss image custom blocks 2 days ago
  • modular_config.json
    261 Bytes
    added moss image custom blocks 2 days ago
  • modular_model_index.json
    82 Bytes
    added moss image custom blocks 2 days ago