Instructions to use fofr/kontext-make-person-real with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fofr/kontext-make-person-real 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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("fofr/kontext-make-person-real") prompt = "make this person look real" 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
|
@@ -10,16 +10,27 @@ tags:
|
|
| 10 |
- replicate
|
| 11 |
base_model: black-forest-labs/FLUX.1-Kontext-dev
|
| 12 |
pipeline_tag: image-to-image
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
instance_prompt: make this person look real
|
| 20 |
---
|
| 21 |
|
| 22 |
-
# Kontext Make
|
| 23 |
|
| 24 |
<Gallery />
|
| 25 |
|
|
|
|
| 10 |
- replicate
|
| 11 |
base_model: black-forest-labs/FLUX.1-Kontext-dev
|
| 12 |
pipeline_tag: image-to-image
|
| 13 |
+
widget:
|
| 14 |
+
- src: https://replicate.delivery/pbxt/NO1Ep6UCCeSoPrNedyHOrilXocBFeARraTuyOul4RpzXBJQi/image.png
|
| 15 |
+
text: make this person look real
|
| 16 |
+
output:
|
| 17 |
+
url: https://replicate.delivery/xezq/ADfWmNmNoejgeogdwuxLJIECrMsX0ih2ss6lxCeSbvL4AnJUB/output.png
|
| 18 |
+
- src: https://replicate.delivery/pbxt/NO1Ep6UCCeSoPrNedyHOrilXocBFeARraTuyOul4RpzXBJQi/image.png
|
| 19 |
+
prompt: make this person look real
|
| 20 |
+
output:
|
| 21 |
+
url: https://replicate.delivery/xezq/ADfWmNmNoejgeogdwuxLJIECrMsX0ih2ss6lxCeSbvL4AnJUB/output.png
|
| 22 |
+
- src: https://replicate.delivery/pbxt/NO4wpArlC8HvLWfxM9hQQqBrmG3rSjv2beS52dIYWc1f4q93/image.png
|
| 23 |
+
text: make this person look real
|
| 24 |
+
output:
|
| 25 |
+
url: https://replicate.delivery/xezq/wMTqaxZUaW5JBp4UGI8c0UOMdbIHuefI1D5iIYlGhlVz6cCVA/output.png
|
| 26 |
+
- src: https://replicate.delivery/pbxt/NO4wpArlC8HvLWfxM9hQQqBrmG3rSjv2beS52dIYWc1f4q93/image.png
|
| 27 |
+
prompt: make this person look real
|
| 28 |
+
output:
|
| 29 |
+
url: https://replicate.delivery/xezq/wMTqaxZUaW5JBp4UGI8c0UOMdbIHuefI1D5iIYlGhlVz6cCVA/output.png
|
| 30 |
instance_prompt: make this person look real
|
| 31 |
---
|
| 32 |
|
| 33 |
+
# Kontext lora: Make this person real
|
| 34 |
|
| 35 |
<Gallery />
|
| 36 |
|