Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.40.0
metadata
title: Klìnic
emoji: 👍🏻
colorFrom: pink
colorTo: blue
sdk: streamlit
sdk_version: 1.34.0
app_file: app.py
pinned: false
Klìnic
Architecture
Prerequisites
- git lfs
pip install -r requirements.txt
Setup
- Get pre-processed data (large files are stored using Git LFS - you need to have it installed)
git lfs fetch --all git lfs checkout
- Start the IRIS Docker container:
docker-compose up -d
- Open a Jupyter notebook we've created to populate the database and run all the cells: database.ipynb
- create a .env file and add the following variable:
OPENAI_API_KEY=<your-openai-api-key>
- Run the app:
streamlit run app.py
Debugging
- Navigate to http://localhost:52773/csp/sys/UtilHome.csp to access IRIS and login with username:
demo
, password:demo
- You can execute SQL queries at 'System Explorer' → 'SQL'