Spaces:
Sleeping
Sleeping
Commit History
-
Fix courier count: use MAX per tt_id to avoid multi-counting across TTs
Chronos Deploy +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5b3b0fd
-
Fix: wrap schema statements in try/except for HF DB column name mismatch
Chronos Deploy +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>25a5132 -
Forecast tab: courier plan/norm lines, Uraza analysis, filter fix attempts
Chronos Deploy +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>7bbd19e
-
Fix: move _sync_from_hf to get_con to prevent startup hang; use CPU-only torch
Chronos Deploy +1: Claude Sonnet 4.6- _sync_from_hf() was called at module import time, blocking Streamlit health check while downloading DB from HF Hub - Move sync call into @st.cache_resource get_con() - runs once on first use - Install CPU-only PyTorch in Dockerfile to avoid pulling heavy CUDA packages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a5757ae
-
Fix: constrain date pickers to real data, hourly forecast with couriers, weather in context tab
Chronos Deployf33d7de -
Remove Dockerfile (switch to Streamlit SDK), fix _sync_from_hf
Chronos Deploy +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>09bf813 -
Switch to Streamlit SDK for fast deploys, fix db dir creation on startup
Chronos Deploy +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>95452f1 -
Add HF Dataset sync: persist DB across Space restarts
Chronos Deploy +1: Claude Sonnet 4.6On startup downloads latest DB from HF_DATASET_REPO. After each upload pushes updated DB back to the dataset. Requires HF_TOKEN and HF_DATASET_REPO Space secrets. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>db5cda8 -
Bundle orders.duckdb via LFS so HF Spaces starts with preloaded data
Chronos Deploy +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5460838 -
Add DuckDB: loader, db utils, data management page, update analysis+forecast pages
Chronos Deploy +1: Claude Sonnet 4.6- DuckDB replaces file uploads for analysis and forecast - db/loader.py: CLI to load XLSX into data/orders.duckdb - app/utils/db.py: connection + query helpers - app/pages/0_Данные.py: upload/manage data via web UI - 1_Анализ_ТТ.py: select TT+date from DB, no file upload - 2_Прогноз_ТТ.py: select TT+date from DB, configurable forecast month - Loaded 547,951 rows for TT 6694 (Sep 2024 - Nov 2025) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>9bbb2e3