Instructions to use ilkerzgi/embroidery-patch-kontext-dev-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ilkerzgi/embroidery-patch-kontext-dev-lora 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-Kontext-dev", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ilkerzgi/embroidery-patch-kontext-dev-lora") prompt = "make it in embroidery style" 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ This is a LoRA (Low-Rank Adaptation) model that has been trained to transform in
|
|
| 54 |
* **Parent Model:** [black-forest-labs/FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev)
|
| 55 |
* **Resources for more information:**
|
| 56 |
* [Download the weights](https://huggingface.co/ilkerzgi/embroidery-style-kontext-dev-lora/resolve/main/hr-puSFwzOyE6TqTjybFC_adapter_model.safetensors)
|
| 57 |
-
* [Try the model directly on fal.ai](https://fal.ai/models/fal-ai/flux-kontext-lora)
|
| 58 |
|
| 59 |
## Uses
|
| 60 |
|
|
|
|
| 54 |
* **Parent Model:** [black-forest-labs/FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev)
|
| 55 |
* **Resources for more information:**
|
| 56 |
* [Download the weights](https://huggingface.co/ilkerzgi/embroidery-style-kontext-dev-lora/resolve/main/hr-puSFwzOyE6TqTjybFC_adapter_model.safetensors)
|
| 57 |
+
* [Try the model directly on fal.ai](https://fal.ai/models/fal-ai/flux-kontext-lora/playground?requestId=4a340b33-fd4a-4741-9fe1-3eeafd336115)
|
| 58 |
|
| 59 |
## Uses
|
| 60 |
|