Instructions to use YiYiXu/diff-diff-mellon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YiYiXu/diff-diff-mellon with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YiYiXu/diff-diff-mellon", 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
Download __pycache__/__init__.cpython-310.pyc from YiYiXu/diff-diff-mellon: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/YiYiXu/diff-diff-mellon/resolve/main/__pycache__/__init__.cpython-310.pyc
- Command line
-
hf download hf://YiYiXu/diff-diff-mellon/__pycache__/__init__.cpython-310.pyc
-
curl -L -o __init__.cpython-310.pyc https://huggingface.co/YiYiXu/diff-diff-mellon/resolve/main/__pycache__/__init__.cpython-310.pyc
418 Bytes
This file contains binary data. It cannot be displayed, but you can still download it.