Spaces:
Runtime error
Runtime error
Create running-instructions.md
Browse files- running-instructions.md +32 -0
running-instructions.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
To run the Glaucoma Image Classifier app locally, follow these steps:
|
| 2 |
+
|
| 3 |
+
1. Clone the repository to your local machine.
|
| 4 |
+
|
| 5 |
+
2. Navigate to the project directory.
|
| 6 |
+
|
| 7 |
+
3. Create a virtual environment (optional but recommended):
|
| 8 |
+
```
|
| 9 |
+
python3 -m venv venv
|
| 10 |
+
```
|
| 11 |
+
|
| 12 |
+
4. Activate the virtual environment:
|
| 13 |
+
- For Windows:
|
| 14 |
+
```
|
| 15 |
+
venv\Scripts\activate
|
| 16 |
+
```
|
| 17 |
+
- For macOS/Linux:
|
| 18 |
+
```
|
| 19 |
+
source venv/bin/activate
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
5. Install the required Python packages:
|
| 23 |
+
```
|
| 24 |
+
pip install -r requirements.txt
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
6. Run the Streamlit app:
|
| 28 |
+
```
|
| 29 |
+
streamlit run app.py
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
7. Access the app in your web browser at the provided local URL (usually http://localhost:8501).
|