Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
### 🛠️ Installation
|
| 3 |
+
|
| 4 |
+
1. Install required packages:
|
| 5 |
+
|
| 6 |
+
```bash
|
| 7 |
+
pip install -r requirements.txt
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### 📦 Download Pretrained Weights
|
| 13 |
+
|
| 14 |
+
2. Before downloading the weights, you need to request access to **[FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev)** on Hugging Face.
|
| 15 |
+
|
| 16 |
+
3. Once approved, open `download_weights.sh` and replace `YOUR_TOKEN` with your Hugging Face token.
|
| 17 |
+
|
| 18 |
+
4. Then run the following to download the weights:
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
cd weights
|
| 22 |
+
bash download_weights.sh
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
### 🚀 Inference
|
| 28 |
+
|
| 29 |
+
5. Run inference using the provided script:
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
bash test.sh
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
---
|