Instructions to use creative-graphic-design/collage-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use creative-graphic-design/collage-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("creative-graphic-design/collage-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download source-assets/image_layers/bentoBox/bentoBox.psd from creative-graphic-design/collage-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 1.25 MB
-
https://huggingface.co/creative-graphic-design/collage-diffusion/resolve/main/source-assets/image_layers/bentoBox/bentoBox.psd
- Command line
-
hf download hf://creative-graphic-design/collage-diffusion/source-assets/image_layers/bentoBox/bentoBox.psd
-
curl -L -o bentoBox.psd https://huggingface.co/creative-graphic-design/collage-diffusion/resolve/main/source-assets/image_layers/bentoBox/bentoBox.psd
1.25 MB
- Xet hash:
- 3349e80837479fff366c450ca82b6e78bbc98e64ac2db003920b2a97ffb8b512
- Size of remote file:
- 1.25 MB
- SHA256:
- 49844b668ee0ed6e7d1198ddfc0465f3c86e2b221a39f119d99a03f2372b9f51
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.