Image-to-Image
Diffusers
English
flux-kontext-lora
flux
lora
kontext
web-design
ui-ux
design-transformation
instruction-following
Instructions to use styly-agents/instructdesign-kontext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use styly-agents/instructdesign-kontext 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("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("styly-agents/instructdesign-kontext") 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
- Local Apps
- Draw Things
Tan commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
- design-transformation
|
| 15 |
- instruction-following
|
| 16 |
base_model: black-forest-labs/FLUX.1-dev
|
| 17 |
-
pipeline_tag:
|
| 18 |
---
|
| 19 |
|
| 20 |
# InstructDesign-Kontext
|
|
@@ -180,4 +180,4 @@ This model is subject to the FLUX.1 [dev] Non-Commercial License.
|
|
| 180 |
|
| 181 |
- FLUX.1 team for the base model
|
| 182 |
- ComfyUI for the inference framework
|
| 183 |
-
- 10 weeks of iterative development
|
|
|
|
| 14 |
- design-transformation
|
| 15 |
- instruction-following
|
| 16 |
base_model: black-forest-labs/FLUX.1-dev
|
| 17 |
+
pipeline_tag: image-to-image
|
| 18 |
---
|
| 19 |
|
| 20 |
# InstructDesign-Kontext
|
|
|
|
| 180 |
|
| 181 |
- FLUX.1 team for the base model
|
| 182 |
- ComfyUI for the inference framework
|
| 183 |
+
- 10 weeks of iterative development
|