Spaces:
Sleeping
Sleeping
Update Readme
Browse files
README.md
CHANGED
|
@@ -9,19 +9,30 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
#
|
| 13 |
|
| 14 |
## Architecture
|
| 15 |

|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## Setup
|
| 18 |
|
| 19 |
-
1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
```Shell
|
| 21 |
-
docker-compose up
|
| 22 |
```
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
- You can execute SQL queries at 'System Explorer' → 'SQL'
|
| 26 |
-
4. run [vector_search.ipynb](./vector_search.ipynb)
|
| 27 |
-
5. run the frontend: `streamlit run app.py`
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Klìnic
|
| 13 |
|
| 14 |
## Architecture
|
| 15 |

|
| 16 |
|
| 17 |
+
## Prerequisites
|
| 18 |
+
- [git lfs](https://git-lfs.com/)
|
| 19 |
+
- `pip install -r requirements.txt`
|
| 20 |
+
|
| 21 |
## Setup
|
| 22 |
|
| 23 |
+
1. get pre-processed data
|
| 24 |
+
```Shell
|
| 25 |
+
git lfs fetch --all
|
| 26 |
+
git lfs checkout
|
| 27 |
+
```
|
| 28 |
+
2. Start the IRIS Docker container:
|
| 29 |
```Shell
|
| 30 |
+
docker-compose up -d
|
| 31 |
```
|
| 32 |
+
3. Start a Jupyter Notebook
|
| 33 |
+
4. before using the web app for the first time, run [database.ipynb](./database.ipynb)
|
| 34 |
+
5. run the app: `streamlit run app.py`
|
| 35 |
+
|
| 36 |
+
## Debugging
|
| 37 |
+
- Navigate to http://localhost:52773/csp/sys/UtilHome.csp to access IRIS and login with username: `demo`, password: `demo`
|
| 38 |
- You can execute SQL queries at 'System Explorer' → 'SQL'
|
|
|
|
|
|