gemma / README.md
adamsardo's picture
Upload README.md with huggingface_hub
567d629 verified
|
Raw History Blame Contribute Delete
1.37 kB
---
base_model: krea/Krea-2-Raw
tags:
- text-to-image
- diffusers
- lora
- krea2
- template:sd-lora
license: apache-2.0
instance_prompt: "gemmadeller"
widget:
- text: "A photo of gemmadeller on a wooden table indoors."
output:
url: sample_0.png
- text: "A photo of gemmadeller outdoors on a patch of grass."
output:
url: sample_1.png
- text: "A close-up photo of gemmadeller against a plain background."
output:
url: sample_2.png
---
# Krea 2 LoRA — adamsardo/gemma
<Gallery />
A DreamBooth-LoRA for **Krea 2**, trained on **Krea 2 RAW** and shown on **Krea 2 Turbo**. The samples below were generated with this LoRA on Turbo (8 steps).
## Trigger
Use the token `gemmadeller` to invoke the concept.
## Samples
![sample](./sample_0.png)
> *"A photo of gemmadeller on a wooden table indoors."*
![sample](./sample_1.png)
> *"A photo of gemmadeller outdoors on a patch of grass."*
![sample](./sample_2.png)
> *"A close-up photo of gemmadeller against a plain background."*
## Use it with diffusers
```py
import torch
from diffusers import Krea2Pipeline
pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
pipe.load_lora_weights("adamsardo/gemma")
image = pipe("A photo of gemmadeller on a wooden table indoors.", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")
```