Unpinned deps re-resolved to numpy 2.x on rebuild, ABI-incompatible with the CPU torch==2.4.1 wheel, segfaulting at model load. Also disable the Streamlit file watcher in prod to silence torchvision import noise.
Co-authored-by: Cursor <cursoragent@cursor.com>
Restore Ani-404/emotion-model (public) and Ani-404/finbert-model (gated) as the default model IDs, keeping env-var overrides. emotion-model loads anonymously; finbert-model requires the repo ungated or an authorized HF_TOKEN available to the deployment.
Co-authored-by: Cursor <cursoragent@cursor.com>
fix finance pipeline and make sentiment models configurable
Fix processor.py datetime import, default to a public finance model, and fix the yfinance MultiIndex column bug that silently dropped all stock returns. Rework quick_predict.py (lazy load, correct empty-data check, remove dead/duplicate code). Make financial_analysis.py feature selection robust. Add finance/run_pipeline.py end-to-end entry point. Fix train_finbert.py paths, model id, and TrainingArguments. Remove duplicate modeling_analysis.py. Make emotion/financial model IDs env-configurable with public defaults so the app and pipeline run out-of-the-box; add xgboost/datasets and drop unused streamlit-option-menu.
Co-authored-by: Cursor <cursoragent@cursor.com>