Spaces:
Sleeping
Sleeping
|
Download README.md from klinic-hackupc/klinic: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/klinic-hackupc/klinic/resolve/main/README.md
- Command line
-
hf download hf://spaces/klinic-hackupc/klinic/README.md
-
curl -L -o README.md https://huggingface.co/spaces/klinic-hackupc/klinic/resolve/main/README.md
1.03 kB
A newer version of the Streamlit SDK is available: 1.66.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'
