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_3.png from PablitoGil14/mhead_pigs-stable-diffusion-v2: direct link, hf CLI and curl.
- Browser
- Download file 726 kB
-
https://huggingface.co/PablitoGil14/mhead_pigs-stable-diffusion-v2/resolve/main/image_3.png
- Command line
-
hf download hf://PablitoGil14/mhead_pigs-stable-diffusion-v2/image_3.png
-
curl -L -o image_3.png https://huggingface.co/PablitoGil14/mhead_pigs-stable-diffusion-v2/resolve/main/image_3.png
726 kB

- Xet hash:
- e38460c05b056a5d000d1845b638d61692741771baa8cd0f1311871d0ae884a5
- Size of remote file:
- 726 kB
- SHA256:
- 90e31ffe0a7db95aa0a404fea68b3e98107ecf7f21c6980a5c314e8aaca4fe20
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.