Spaces:
Runtime error
Runtime error
Update README2.md
Browse files- README2.md +11 -11
README2.md
CHANGED
|
@@ -8,34 +8,34 @@ The **Image Data Extractor** is a Python-based tool designed to extract and stru
|
|
| 8 |
# Installation Guide:
|
| 9 |
|
| 10 |
1. **Create and Activate a Virtual Environment**
|
| 11 |
-
|
| 12 |
python -m venv venv
|
| 13 |
source venv/bin/activate # For Linux/Mac
|
| 14 |
# or
|
| 15 |
venv\Scripts\activate # For Windows
|
| 16 |
-
|
| 17 |
|
| 18 |
2. **Install Required Libraries**
|
| 19 |
-
|
| 20 |
pip install -r requirements.txt
|
| 21 |
-
|
| 22 |
|
| 23 |
3. **Run the Application**
|
| 24 |
- If Docker is being used:
|
| 25 |
-
|
| 26 |
docker-compose up --build
|
| 27 |
-
|
| 28 |
- Without Docker:
|
| 29 |
-
|
| 30 |
python app.py
|
| 31 |
-
|
| 32 |
|
| 33 |
4. **Set up Hugging Face Token**
|
| 34 |
- Add your Hugging Face token in the `.env` file:
|
| 35 |
-
|
| 36 |
HF_TOKEN=<your_huggingface_token>
|
| 37 |
-
|
| 38 |
-
|
| 39 |
# File Structure Overview:
|
| 40 |
|
| 41 |
```
|
|
|
|
| 8 |
# Installation Guide:
|
| 9 |
|
| 10 |
1. **Create and Activate a Virtual Environment**
|
| 11 |
+
```bash
|
| 12 |
python -m venv venv
|
| 13 |
source venv/bin/activate # For Linux/Mac
|
| 14 |
# or
|
| 15 |
venv\Scripts\activate # For Windows
|
| 16 |
+
```
|
| 17 |
|
| 18 |
2. **Install Required Libraries**
|
| 19 |
+
```bash
|
| 20 |
pip install -r requirements.txt
|
| 21 |
+
```
|
| 22 |
|
| 23 |
3. **Run the Application**
|
| 24 |
- If Docker is being used:
|
| 25 |
+
```bash
|
| 26 |
docker-compose up --build
|
| 27 |
+
```
|
| 28 |
- Without Docker:
|
| 29 |
+
```bash
|
| 30 |
python app.py
|
| 31 |
+
```
|
| 32 |
|
| 33 |
4. **Set up Hugging Face Token**
|
| 34 |
- Add your Hugging Face token in the `.env` file:
|
| 35 |
+
```bash
|
| 36 |
HF_TOKEN=<your_huggingface_token>
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
# File Structure Overview:
|
| 40 |
|
| 41 |
```
|