Instructions to use madmax3366/sr_t with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use madmax3366/sr_t with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("madmax3366/sr_t", 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 e1s3model/tokenizer.json from madmax3366/sr_t: direct link, hf CLI and curl.
- Browser
- Download file 7.03 MB
-
https://huggingface.co/madmax3366/sr_t/resolve/main/e1s3model/tokenizer.json
- Command line
-
hf download hf://madmax3366/sr_t/e1s3model/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/madmax3366/sr_t/resolve/main/e1s3model/tokenizer.json
7.03 MB
File too large to display, you can check the raw version instead.