Instructions to use GraydientPlatformAPI/henran with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GraydientPlatformAPI/henran with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("GraydientPlatformAPI/henran", 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
- Local Apps
- Draw Things
- DiffusionBee
- Xet hash:
- b737980479ae1aed3a964d3ea07f365644a5aedc9d1ab4e88ce52e50a4f156eb
- Size of remote file:
- 167 MB
- SHA256:
- 693c35106144d8f1aa12a0097ae96e12b6516c6adfb426a016535df3bf344f54
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.