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 Settings
- Draw Things
- DiffusionBee
Download text_encoder/model.safetensors from GraydientPlatformAPI/henran: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/GraydientPlatformAPI/henran/resolve/main/text_encoder/model.safetensors
- Command line
-
hf download hf://GraydientPlatformAPI/henran/text_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/GraydientPlatformAPI/henran/resolve/main/text_encoder/model.safetensors
246 MB
- Xet hash:
- 77db9a98b97603128db908ce19389b5c98098940328b08741590359174a1521a
- Size of remote file:
- 246 MB
- SHA256:
- bef8a50465bf60e3558cbb90d3eebda166cd63db24fc81fff21f56c4e3bc50cf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.