Commit History
-
fix(critical): align saison/peak_hour encoding + restore TensorFlow on HF
cheikhaidev-ui +1: Claude Sonnet 4.6- utils_simple.create_time_features(): fix saison from binary {0,1} to 3-season Dakar encoding {0,1,2} matching data_generator.get_season() - utils_simple.create_time_features(): fix is_peak_hour to include 7-9h morning peak matching data_generator.is_peak_hour() - requirements-hf.txt: restore tensorflow-cpu==2.17.1 so LSTM loads on HF Spaces (previously removed to avoid build timeout) - Dockerfile: remove outdated comment about missing TensorFlow - CLAUDE.md: document correct saison and is_peak_hour invariants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>554fba2
-
fix(hf): switch to port 7860 required by HF Spaces Docker
cheikhaidev-ui84eda1b -
fix(docker): remove tensorflow from HF build to fix 30min timeout
cheikhaidev-ui- Add requirements-hf.txt without tensorflow for Docker/HF deployment - Make keras/tensorflow import optional in utils_simple.py - LightGBM-only mode when TF unavailable (graceful degradation) - Local dev keeps tensorflow-cpu==2.17.1 via requirements.txtc27655a -
fix(docker): align Python 3.12-slim with tensorflow-cpu 2.17.1
cheikhaidev-ui- Dockerfile: python:3.11-slim → python:3.12-slim - requirements.txt: tensorflow-cpu 2.16.1 → 2.17.1 - Stack now consistent: local Python 3.12.5 = Docker 3.12-slim = TF 2.17.106ad55e
-
Install libgomp1 to fix LightGBM library error
593c4fa -
Change port from 7860 to 8501 to match Streamlit default
3b21c1b -
Initial commit - code only
5cda98e