Instructions to use sivar/legostyle1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sivar/legostyle1-5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sivar/legostyle1-5", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download text_encoder/pytorch_model.bin from sivar/legostyle1-5: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/sivar/legostyle1-5/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://sivar/legostyle1-5/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sivar/legostyle1-5/resolve/main/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- 6d8df6233d3d8d934dd0945cab2b53ab9422d420a6905a366594f16f56359fef
- Size of remote file:
- 246 MB
- SHA256:
- 28168a9ba7bc2166225de3f748bfd6ad3e44ef9b02a8fa57ef7a0bccfe73343e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.