Instructions to use anshudaur/path-to-save-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use anshudaur/path-to-save-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("anshudaur/path-to-save-model", dtype=torch.bfloat16, device_map="cuda") prompt = "photo of a <new1> cat" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_0.png from anshudaur/path-to-save-model: direct link, hf CLI and curl.
- Browser
- Download file 321 kB
-
https://huggingface.co/anshudaur/path-to-save-model/resolve/main/image_0.png
- Command line
-
hf download hf://anshudaur/path-to-save-model/image_0.png
-
curl -L -o image_0.png https://huggingface.co/anshudaur/path-to-save-model/resolve/main/image_0.png
321 kB
