Instructions to use Owen777/Kontext-Style-Loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Owen777/Kontext-Style-Loras with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Owen777/Kontext-Style-Loras", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,6 +15,8 @@ tags:
|
|
| 15 |
This repository provides a collection of 20+ style LoRA adapters for the FLUX.1 Kontext Model, enabling a wide range of artistic and cartoon styles for high-quality image-to-image generation.
|
| 16 |
These LoRAs are trained on high-quality paired data generated by GPT-4o.
|
| 17 |
|
|
|
|
|
|
|
| 18 |
The data is from [Omniconsistency](https://huggingface.co/datasets/showlab/OmniConsistency).
|
| 19 |
## News!
|
| 20 |
**We create [Kontext-Style](https://huggingface.co/Kontext-Style) to host each LoRA as its own repo! And we provide [space demo](https://huggingface.co/spaces/Kontext-Style/Kontext-Style-LoRAs) to directly run our LoRAs online!**
|
|
|
|
| 15 |
This repository provides a collection of 20+ style LoRA adapters for the FLUX.1 Kontext Model, enabling a wide range of artistic and cartoon styles for high-quality image-to-image generation.
|
| 16 |
These LoRAs are trained on high-quality paired data generated by GPT-4o.
|
| 17 |
|
| 18 |
+
**Srouce training code: https://github.com/Owen718/Kontext-Lora-Trainer**
|
| 19 |
+
|
| 20 |
The data is from [Omniconsistency](https://huggingface.co/datasets/showlab/OmniConsistency).
|
| 21 |
## News!
|
| 22 |
**We create [Kontext-Style](https://huggingface.co/Kontext-Style) to host each LoRA as its own repo! And we provide [space demo](https://huggingface.co/spaces/Kontext-Style/Kontext-Style-LoRAs) to directly run our LoRAs online!**
|