Instructions to use stqc/kai-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stqc/kai-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("stqc/kai-lora") prompt = "drvex, portrait" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add generated example
#1
by stqc - opened
- README.md +12 -9
- images/example_5ri4r32h2.png +0 -0
README.md
CHANGED
|
@@ -4,13 +4,16 @@ base_model:
|
|
| 4 |
pipeline_tag: text-to-image
|
| 5 |
instance_prompt: drvex
|
| 6 |
tags:
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
widget:
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
pipeline_tag: text-to-image
|
| 5 |
instance_prompt: drvex
|
| 6 |
tags:
|
| 7 |
+
- lora
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- template:sd-lora
|
| 11 |
widget:
|
| 12 |
+
- text: drvex, portrait
|
| 13 |
+
output:
|
| 14 |
+
url: prt1.png
|
| 15 |
+
- text: drvex, portrait
|
| 16 |
+
output:
|
| 17 |
+
url: images/example_5ri4r32h2.png
|
| 18 |
+
|
| 19 |
+
---
|
images/example_5ri4r32h2.png
ADDED
|