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