Instructions to use GraydientPlatformAPI/ducdark4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GraydientPlatformAPI/ducdark4 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/ducdark4", 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/ducdark4: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/GraydientPlatformAPI/ducdark4/resolve/main/text_encoder/model.safetensors
- Command line
-
hf download hf://GraydientPlatformAPI/ducdark4/text_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/GraydientPlatformAPI/ducdark4/resolve/main/text_encoder/model.safetensors
246 MB
- Xet hash:
- 5d688f318f0a7da6f2ec09f231ee535887a21ca309af0287c3261839ec1acdcf
- Size of remote file:
- 246 MB
- SHA256:
- d0d881819a7c8a90b752f3b3858f47b824ad7c2ef5541fdbea3617fc006bb8dc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.