Instructions to use yurujaja/DGInStyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yurujaja/DGInStyle with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yurujaja/DGInStyle", 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 U-Net-Source-Finetuned/text_encoder/pytorch_model.bin from yurujaja/DGInStyle: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/yurujaja/DGInStyle/resolve/main/U-Net-Source-Finetuned/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://yurujaja/DGInStyle/U-Net-Source-Finetuned/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/yurujaja/DGInStyle/resolve/main/U-Net-Source-Finetuned/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- cbed990d85602f9733c497eeb44d311595ebc692a8cc19c385c9dab4aec0c4b3
- Size of remote file:
- 246 MB
- SHA256:
- 2a4311d3fc7b70396637a703ba65b7db30041ba536f569ae8f548312641a0fd6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.