Text-to-Image
Diffusers
TensorBoard
lora
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Instructions to use PablitoGil14/mhead_pigs-stable-diffusion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PablitoGil14/mhead_pigs-stable-diffusion-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PablitoGil14/mhead_pigs-stable-diffusion-v2") prompt = "a photo of a pig head" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_2.png from PablitoGil14/mhead_pigs-stable-diffusion-v2: direct link, hf CLI and curl.
- Browser
- Download file 749 kB
-
https://huggingface.co/PablitoGil14/mhead_pigs-stable-diffusion-v2/resolve/main/image_2.png
- Command line
-
hf download hf://PablitoGil14/mhead_pigs-stable-diffusion-v2/image_2.png
-
curl -L -o image_2.png https://huggingface.co/PablitoGil14/mhead_pigs-stable-diffusion-v2/resolve/main/image_2.png
749 kB

- Xet hash:
- 97d8a0fb09f5bdb5c38761b0e6a80f251ac3e323f74aab8b7883656ff6f04aea
- Size of remote file:
- 749 kB
- SHA256:
- 3fa4bd05c1651787fa90e98a8cb6e84ba4e09f55fd39baea8255d04de8928789
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.