Instructions to use krea/Krea-2-LoRA-darkbrush with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use krea/Krea-2-LoRA-darkbrush 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-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("krea/Krea-2-LoRA-darkbrush") prompt = "two samurais in flowing robes doing a muay thai fight, one throws a high kick while the other leans back. monochrome ink wash style" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add license metadata linking to LICENSE.pdf
Browse files
README.md
CHANGED
|
@@ -5,6 +5,9 @@ base_model:
|
|
| 5 |
- krea/Krea-2-Turbo
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
library_name: diffusers
|
|
|
|
|
|
|
|
|
|
| 8 |
widget:
|
| 9 |
- text: A golden labrador running in a farm, while a pickup truck is driving across
|
| 10 |
a dusty road in the background far away. While a plane flies in the sky. monochrome
|
|
|
|
| 5 |
- krea/Krea-2-Turbo
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
library_name: diffusers
|
| 8 |
+
license: other
|
| 9 |
+
license_name: krea-community-license
|
| 10 |
+
license_link: https://huggingface.co/krea/Krea-2-LoRA-darkbrush/blob/main/LICENSE.pdf
|
| 11 |
widget:
|
| 12 |
- text: A golden labrador running in a farm, while a pickup truck is driving across
|
| 13 |
a dusty road in the background far away. While a plane flies in the sky. monochrome
|