Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model: black-forest-labs/FLUX.1-Kontext-dev
|
| 6 |
+
tags:
|
| 7 |
+
- image-editing
|
| 8 |
+
- image-retouching
|
| 9 |
+
- lora
|
| 10 |
+
- eyecontrol
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
# EyeControl
|
| 14 |
+
|
| 15 |
+
Checkpoints for **Dotting the Eye: An Intent-Driven Image Retouching
|
| 16 |
+
Agent for Visual Focus Enhancement**.
|
| 17 |
+
|
| 18 |
+
EyeControl supports instruction-based image retouching with global
|
| 19 |
+
color and tone adjustments, local instructions, and spatial intent
|
| 20 |
+
for visual focus enhancement.
|
| 21 |
+
|
| 22 |
+
## Files
|
| 23 |
+
|
| 24 |
+
- `control.safetensors`: EyeControl control weights.
|
| 25 |
+
- `adapter_model.safetensors`: trained LoRA adapter weights.
|
| 26 |
+
- `adapter_config.json`: LoRA adapter configuration.
|
| 27 |
+
|
| 28 |
+
These files require the FLUX.1-Kontext-dev base model and the
|
| 29 |
+
EyeControl inference code.
|
| 30 |
+
|
| 31 |
+
## Download
|
| 32 |
+
|
| 33 |
+
Run from the EyeControl code repository:
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
hf download Dragoniss/EyeControl --local-dir pretrained/eyecontrol
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
1. Prepare FLUX.1-Kontext-dev at `pretrained/FLUX.1-Kontext-dev`.
|
| 42 |
+
2. Download the EyeControl checkpoint using the command above.
|
| 43 |
+
3. Set `CHECKPOINT_DIRS` in `infer.sh` to `("pretrained/eyecontrol")`.
|
| 44 |
+
4. Configure the input images, masks, and prompts, then run:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
bash infer.sh
|
| 48 |
+
```
|