Shudeng commited on
Commit
954985a
·
verified ·
1 Parent(s): 04db1ca

Update Readme

Browse files
Files changed (1) hide show
  1. README.md +38 -6
README.md CHANGED
@@ -1,6 +1,38 @@
1
- ---
2
- license: other
3
- license_name: license-flux1-dev
4
- license_link: >-
5
- https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev
6
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: license-flux1-dev
4
+ license_link: >-
5
+ https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev
6
+ ---
7
+
8
+ # Introduction
9
+ Hello, please refer to [github repo](https://github.com/yishaoai/tutorials-of-100-wonderful-ai-models/tree/main/2.flux-controlnet) for more detail.
10
+
11
+
12
+
13
+ ## train
14
+ **prepare code and environment**
15
+
16
+ ```shell
17
+ git clone https://github.com/yishaoai/tutorials-of-100-wonderful-ai-models
18
+ cd tutorials-of-100-wonderful-ai-models/2.flux-controlnet/diffusers
19
+ git submodule update --init .
20
+ pip install -r requirements.txt
21
+ cd ../..
22
+ ```
23
+
24
+ ```shell
25
+ bash train.sh
26
+ ```
27
+
28
+
29
+ ## inference
30
+ ```shell
31
+
32
+ python infer.py
33
+ ```
34
+
35
+ ## demo of results
36
+
37
+ ![demo](https://raw.githubusercontent.com/yishaoai/tutorials-of-100-wonderful-ai-models/main/2.flux-controlnet/assets/flux-controlnet.png)
38
+