Our awesome BärnHäckt project for the Clienia Schlössli challenge
poetry install
poetry run python scripts/train.py
poetry run uvicorn triage_trend.main:app --reload
The service can then be queried like this:
curl -X POST "http://127.0.0.1:8000/predict" -H "Content-Type: application/json" -d '{
"date": "2024-08-24"
}'
cd ./triage-trend-ui
npm install
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
ruff check . --fix
ruff format
echo "use nix" > .envrc
direnv allow
- Week after holidays
- First week of holidays
- Mean week weather data