Instructions to use gokaygokay/Krea-2-Realism-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gokaygokay/Krea-2-Realism-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("krea/Krea-2-Raw,krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("gokaygokay/Krea-2-Realism-LoRA") prompt = "A young woman taking a selfie in front of a steamy bathroom mirror with her phone partly covering her face, soft morning light coming through a frosted window, water droplets on the glass and a white towel wrapped around her hair" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 134 Bytes
da5bb68 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6c38a7934c54a56e0f67753660a4500a094d6dce28a0ee4a0d1dc9f4975d32d2
size 469288512
|