tester343 commited on
Commit
9f28dd4
·
verified ·
1 Parent(s): 1f1a9b6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -10
README.md CHANGED
@@ -1,19 +1,41 @@
1
- # FLUX.2 Klein – Text & Image Editing (CPU/GPU)
 
 
 
 
 
 
2
 
3
- This repository provides a minimal Diffusers-based application
4
- for running FLUX.2 Klein models for text-to-image and image editing.
5
 
6
- ⚠️ Note:
7
- FLUX.2 models are transformer-based flow models and are NOT optimized
8
- for fast CPU inference. GPU is strongly recommended.
 
 
 
 
 
 
 
 
 
 
9
 
10
  ## Supported Models
11
- - FLUX.2-klein-4B (distilled, fastest)
12
- - FLUX.2-klein-base-4B (higher quality, slower)
 
 
 
13
 
14
  ## Requirements
15
- See `requirements.txt`
 
 
 
16
 
17
  ## Run
 
18
  ```bash
19
- python app.py
 
1
+ ---
2
+ title: "image"
3
+ sdk: gradio
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ short_description: "image generation tool"
7
+ ---
8
 
9
+ # FLUX.2 Klein Image Generation & Editing (CPU / GPU)
 
10
 
11
+ This repository provides a minimal **Diffusers + Gradio** application for running
12
+ **FLUX.2 Klein** models for text-to-image generation and image-based editing.
13
+
14
+ The application uses **`main.py`** as the entry point.
15
+
16
+ ---
17
+
18
+ ## ⚠️ Important Note
19
+
20
+ FLUX.2 models are **transformer-based rectified flow models** and are **not optimized
21
+ for fast CPU inference**. For practical performance, **GPU usage is strongly recommended**.
22
+
23
+ ---
24
 
25
  ## Supported Models
26
+
27
+ - **FLUX.2-klein-4B** Distilled variant, optimized for faster inference
28
+ - **FLUX.2-klein-base-4B** – Base variant, higher quality but slower
29
+
30
+ ---
31
 
32
  ## Requirements
33
+
34
+ All dependencies are listed in `requirements.txt`.
35
+
36
+ ---
37
 
38
  ## Run
39
+
40
  ```bash
41
+ python main.py