Text-to-Image
Diffusers
TensorBoard
Safetensors
English
StableDiffusionPipeline
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Instructions to use ZB-Tech/Text-to-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ZB-Tech/Text-to-Image 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-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ZB-Tech/Text-to-Image") prompt = "Draw a picture of two female boxers fighting each other." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download safety_checker/pytorch_model.bin from ZB-Tech/Text-to-Image: direct link, hf CLI and curl.
- Browser
- Download file 1.22 GB
-
https://huggingface.co/ZB-Tech/Text-to-Image/resolve/main/safety_checker/pytorch_model.bin
- Command line
-
hf download hf://ZB-Tech/Text-to-Image/safety_checker/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ZB-Tech/Text-to-Image/resolve/main/safety_checker/pytorch_model.bin
1.22 GB
- Xet hash:
- 60dd6a051aea64d5bb1c3cfd426ad36dc953e48679c41de213a1eddd20ac8543
- Size of remote file:
- 1.22 GB
- SHA256:
- 193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.