Anonymous20250508 commited on
Commit
87f57f0
·
verified ·
1 Parent(s): b3b8ca3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -9
README.md CHANGED
@@ -1,7 +1,9 @@
 
 
1
 
2
- ### 🛠️ Installation
3
 
4
- 1. Install required packages:
5
 
6
  ```bash
7
  pip install -r requirements.txt
@@ -9,13 +11,26 @@ pip install -r requirements.txt
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
@@ -24,12 +39,11 @@ bash download_weights.sh
24
 
25
  ---
26
 
27
- ### 🚀 Inference
28
 
29
- 5. Run inference using the provided script:
30
 
31
  ```bash
32
  bash test.sh
33
  ```
34
 
35
- ---
 
1
+ ## Please follow the steps below to set up the environment, download required weights, and run.
2
+ ---
3
 
4
+ ### 🔧 Step 1: Install Dependencies
5
 
6
+ Install all required Python packages:
7
 
8
  ```bash
9
  pip install -r requirements.txt
 
11
 
12
  ---
13
 
14
+ ### 📥 Step 2: Download FLUX.1-dev Weights
15
+
16
+ **Step 2.1: Request Access**
17
 
18
+ Visit the Hugging Face model page and request access to the FLUX.1-dev weights:
19
+ 👉 [https://huggingface.co/black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev)
20
 
21
+ **Step 2.2: Set Your Token**
22
 
23
+ Once access is granted, open the file `download_weights.sh` and replace:
24
+
25
+ ```bash
26
+ TOKEN=YOUR_TOKEN
27
+ ```
28
+
29
+ with your actual Hugging Face token.
30
+
31
+ **Step 2.3: Download Weights**
32
+
33
+ Run the following to download model weights:
34
 
35
  ```bash
36
  cd weights
 
39
 
40
  ---
41
 
42
+ ### 🧪 Step 3: Run Inference
43
 
44
+ Run the test script to perform inference:
45
 
46
  ```bash
47
  bash test.sh
48
  ```
49