Instructions to use ostris/face-helper-sdxl-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ostris/face-helper-sdxl-lora 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("ostris/face-helper-sdxl-lora") prompt = "rick sanchez from rick and morty, lab coat, drooling, drunk " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download 2513181.jpeg from ostris/face-helper-sdxl-lora: direct link, hf CLI and curl.
- Browser
- Download file 55.5 kB
-
https://huggingface.co/ostris/face-helper-sdxl-lora/resolve/main/2513181.jpeg
- Command line
-
hf download hf://ostris/face-helper-sdxl-lora/2513181.jpeg
-
curl -L -o 2513181.jpeg https://huggingface.co/ostris/face-helper-sdxl-lora/resolve/main/2513181.jpeg
55.5 kB
