Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
lora
Instructions to use bodam/0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bodam/0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("bodam/0") prompt = "A k2b3d chair" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download unet/test.py from bodam/0: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/bodam/0/resolve/main/unet/test.py
- Command line
-
hf download hf://bodam/0/unet/test.py
-
curl -L -o test.py https://huggingface.co/bodam/0/resolve/main/unet/test.py
152 Bytes
| from diffusers.pipelines import StableDiffusionPipeline | |
| pipeline = StableDiffusionPipeline.from_single_file("./diffusion_pytorch_model.safetensors") | |