Text-to-Image
Diffusers
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Instructions to use hbiny/4_text2img with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hbiny/4_text2img 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("hbiny/4_text2img") prompt = "d0nar1dk, salute" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- 4ae9f190b24575d6dfd800c8a6c296a0ff9788a4124358a5e114e7bb1488c1c0
- Size of remote file:
- 15.1 MB
- SHA256:
- 578678541197faf3b7e1f64307a1e3ed2e948ab24f9066e60aac9127b5d8a6aa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.