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
Commit History
-
Rename tokenizer/tokenizer_vocab.json to tokenizer/vocab.json
Verified signatureb2412c1 -
Upload tokenizer_vocab.json
Verified signature5b7b45f -
Rename tokenizer/tokenizer_merges.txt to tokenizer/merges.txt
Verified signature5b63889 -
Upload tokenizer_merges.txt
Verified signature07539b3
-
Create tokenizer_config.json
Verified signature52a79d0 -
Create tokenizer/special_tokens_map.json
Verified signaturea6a619a