Skip to content

Commit aac1f3e

Browse files
authored
Update readme.md
1 parent d2cf731 commit aac1f3e

1 file changed

Lines changed: 21 additions & 11 deletions

File tree

readme.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
1-
2-
## FLUX1.D Controlnet Inpainting
3-
1+
---
2+
license: other
3+
license_name: flux-1-dev-non-commercial-license
4+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5+
language:
6+
- en
7+
base_model: black-forest-labs/FLUX.1-dev
8+
library_name: diffusers
9+
tags:
10+
- Text-to-Image
11+
- ControlNet
12+
- Inpainting
13+
- FLUX
14+
- Stable Diffusion
15+
---
416
<div style="display: flex; justify-content: center; align-items: center;">
517
<img src="images/alibaba.png" alt="alibaba" style="width: 20%; height: auto; margin-right: 5%;">
618
<img src="images/alimama.png" alt="alimama" style="width: 20%; height: auto;">
719
</div>
8-
920
This repository provides a Inpainting ControlNet checkpoint for [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) model released by researchers from AlimamaCreative Team.
1021

11-
1222
## Model Cards
1323

1424
* The model was trained on 12M laion2B and internal source images at resolution 768x768. The inference performs best at this size, with other sizes yielding suboptimal results.
1525

16-
* The recommended controlnet_conditioning_scale is 0.95.
26+
* The recommended controlnet_conditioning_scale is 0.9 - 0.95.
1727

1828
* **Please note: This is only the alpha version during the training process. We will release an updated version when we feel ready.**
1929

@@ -46,12 +56,12 @@ From left to right: Input image | Masked image | SDXL inpainting | Ours
4656

4757
``` Shell
4858
# install diffusers
49-
pip install -U diffusers
59+
pip install diffusers==0.30.2
5060
# clone this repo
51-
git clone https://github.com/JPlin/FLUX-Controlnet-Inpainting.git
52-
# run
53-
python main.py -i <input_image> -m <mask_image> -p <prompt>
61+
git clone https://github.com/alimama-creative/FLUX-Controlnet-Inpainting.git
62+
# modify the image_path, mask_path, and prompt in main.py. Run:
63+
python main.py
5464
```
5565

5666
## LICENSE
57-
Our weights fall under the [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) Non-Commercial License.
67+
Our weights fall under the [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) Non-Commercial License.

0 commit comments

Comments
 (0)