Instructions to use CiaraRowles/TemporalNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CiaraRowles/TemporalNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("CiaraRowles/TemporalNet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Download test from CiaraRowles/TemporalNet: direct link, hf CLI and curl.
- Browser
- Download file 462 Bytes
-
https://huggingface.co/CiaraRowles/TemporalNet/resolve/refs%2Fpr%2F2/test
- Command line
-
hf download hf://CiaraRowles/TemporalNet@refs/pr/2/test
-
curl -L -o test https://huggingface.co/CiaraRowles/TemporalNet/resolve/refs%2Fpr%2F2/test
462 Bytes
| pip install transformers | |
| import torch | |
| from transformers import TemporalNetStableDiffusionModel, TemporalNetStableDiffusionConfig, AutoTokenizer | |
| tokenizer = AutoTokenizer.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8") | |
| config = TemporalNetStableDiffusionConfig.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8") | |
| model = TemporalNetStableDiffusionModel.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8", config=config) | |